We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8d2cee commit 26e9725Copy full SHA for 26e9725
1 file changed
Doc/c-api/unicode.rst
@@ -132,14 +132,16 @@ access to internal read-only data of Unicode objects:
132
.. c:macro:: PyUnicode_IS_COMPACT(o)
133
134
Return true if the Unicode object *o* is a compact string.
135
-
+ Compact strings use a single memory block for
136
+ the structure and the character data.
137
.. versionadded:: 3.3
138
139
140
.. c:macro:: PyUnicode_IS_COMPACT_ASCII(o)
141
142
Return true if the Unicode object *o* is a compact ASCII string.
143
+ A compact ASCII string uses a single memory block
144
+ and contains only ASCII characters.
145
146
147
0 commit comments