Skip to content

Commit c8d2cee

Browse files
committed
unicode doc 1
1 parent 51227b6 commit c8d2cee

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Doc/c-api/unicode.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,20 @@ access to internal read-only data of Unicode objects:
129129
.. versionadded:: 3.3
130130
131131
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+
.. versionadded:: 3.3
144+
145+
132146
.. c:function:: void PyUnicode_WRITE(int kind, void *data, \
133147
Py_ssize_t index, Py_UCS4 value)
134148

0 commit comments

Comments
 (0)