File tree Expand file tree Collapse file tree 1 file changed +16
-16
lines changed
Expand file tree Collapse file tree 1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,22 @@ Python:
6565 .. versionadded :: 3.3
6666
6767
68+ .. c :macro :: PyUnicode_IS_COMPACT(o)
69+
70+ Return true if the Unicode object *o * is a compact string.
71+ Compact strings use the :c:struct: `PyCompactUnicodeObject ` structure.
72+
73+ .. versionadded :: 3.3
74+
75+
76+ .. c :macro :: PyUnicode_IS_COMPACT_ASCII(o)
77+
78+ Return true if the Unicode object *o * is a compact ASCII string.
79+ Compact ASCII strings use the :c:struct: `PyASCIIObject ` structure.
80+
81+ .. versionadded :: 3.3
82+
83+
6884The following APIs are C macros and static inlined functions for fast checks and
6985access to internal read-only data of Unicode objects:
7086
@@ -129,22 +145,6 @@ access to internal read-only data of Unicode objects:
129145 .. versionadded:: 3.3
130146
131147
132- .. c:macro:: PyUnicode_IS_COMPACT(o)
133-
134- Return true if the Unicode object *o* is a compact string.
135- Compact strings use the :c:struct:`PyCompactUnicodeObject` structure.
136-
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- Compact ASCII strings use the :c:struct:`PyASCIIObject` structure.
144-
145- .. versionadded:: 3.3
146-
147-
148148.. c:function:: void PyUnicode_WRITE(int kind, void *data, \
149149 Py_ssize_t index, Py_UCS4 value)
150150
You can’t perform that action at this time.
0 commit comments