From 80bc72d5a2f7550edbd63d577bb8fb1e3bbba69c Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 22 Dec 2011 03:23:10 +0100 Subject: [PATCH] fix PyCompactUnicodeObject doc (test) --- Include/unicodeobject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h index c5480f1b46f..dfd594e0150 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