Skip to content

Commit 80bc72d

Browse files
author
Victor Stinner
committed
fix PyCompactUnicodeObject doc (test)
1 parent 85530aa commit 80bc72d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Include/unicodeobject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ typedef struct {
232232
- compact:
233233
234234
* structure = PyCompactUnicodeObject
235-
* test: PyUnicode_IS_ASCII(op) && !PyUnicode_IS_COMPACT(op)
235+
* test: PyUnicode_IS_COMPACT(op) && !PyUnicode_IS_ASCII(op)
236236
* kind = PyUnicode_1BYTE_KIND, PyUnicode_2BYTE_KIND or
237237
PyUnicode_4BYTE_KIND
238238
* compact = 1

0 commit comments

Comments
 (0)