Skip to content

Commit 26e9725

Browse files
committed
fix 1 unicode
1 parent c8d2cee commit 26e9725

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Doc/c-api/unicode.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,14 +132,16 @@ access to internal read-only data of Unicode objects:
132132
.. c:macro:: PyUnicode_IS_COMPACT(o)
133133
134134
Return true if the Unicode object *o* is a compact string.
135-
135+
Compact strings use a single memory block for
136+
the structure and the character data.
136137
.. versionadded:: 3.3
137138
138139
139140
.. c:macro:: PyUnicode_IS_COMPACT_ASCII(o)
140141
141142
Return true if the Unicode object *o* is a compact ASCII string.
142-
143+
A compact ASCII string uses a single memory block
144+
and contains only ASCII characters.
143145
.. versionadded:: 3.3
144146
145147

0 commit comments

Comments
 (0)