From: Victor Stinner Date: Thu, 22 Dec 2011 02:23:10 +0000 (+0100) Subject: fix PyCompactUnicodeObject doc (test) X-Git-Tag: v3.3.0a1~542 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=80bc72d5a2f7550edbd63d577bb8fb1e3bbba69c;p=thirdparty%2FPython%2Fcpython.git fix PyCompactUnicodeObject doc (test) --- diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h index c5480f1b46fe..dfd594e01509 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