summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Include/unicodeobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h
index c5480f1..dfd594e 100644
--- a/Include/unicodeobject.h
+++ b/Include/unicodeobject.h
@@ -232,7 +232,7 @@ typedef struct {
- compact:
* structure = PyCompactUnicodeObject
- * test: PyUnicode_IS_ASCII(op) && !PyUnicode_IS_COMPACT(op)
+ * test: PyUnicode_IS_COMPACT(op) && !PyUnicode_IS_ASCII(op)
* kind = PyUnicode_1BYTE_KIND, PyUnicode_2BYTE_KIND or
PyUnicode_4BYTE_KIND
* compact = 1