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 51227b6 commit c8d2ceeCopy full SHA for c8d2cee
1 file changed
Doc/c-api/unicode.rst
@@ -129,6 +129,20 @@ access to internal read-only data of Unicode objects:
129
.. versionadded:: 3.3
130
131
132
+.. c:macro:: PyUnicode_IS_COMPACT(o)
133
+
134
+ Return true if the Unicode object *o* is a compact string.
135
136
+ .. versionadded:: 3.3
137
138
139
+.. c:macro:: PyUnicode_IS_COMPACT_ASCII(o)
140
141
+ Return true if the Unicode object *o* is a compact ASCII string.
142
143
144
145
146
.. c:function:: void PyUnicode_WRITE(int kind, void *data, \
147
Py_ssize_t index, Py_UCS4 value)
148
0 commit comments