summaryrefslogtreecommitdiffstats
path: root/Include/unicodeobject.h
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-12-22 02:23:10 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-12-22 02:23:10 (GMT)
commit80bc72d5a2f7550edbd63d577bb8fb1e3bbba69c (patch)
treec57b9d40ea9f8fd862ffa712ee07ea478cdf47d8 /Include/unicodeobject.h
parent85530aa1c369ce83f59bb2e10b6af34c889894fb (diff)
downloadcpython-80bc72d5a2f7550edbd63d577bb8fb1e3bbba69c.zip
cpython-80bc72d5a2f7550edbd63d577bb8fb1e3bbba69c.tar.gz
cpython-80bc72d5a2f7550edbd63d577bb8fb1e3bbba69c.tar.bz2
fix PyCompactUnicodeObject doc (test)
Diffstat (limited to 'Include/unicodeobject.h')
-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