[Python-checkins] cpython: fix PyCompactUnicodeObject doc (test)
victor.stinner
python-checkins at python.org
Thu Dec 22 03:21:07 CET 2011
http://hg.python.org/cpython/rev/4bbc3ffa1207
changeset: 74124:4bbc3ffa1207
user: Victor Stinner <victor.stinner at haypocalc.com>
date: Thu Dec 22 03:23:10 2011 +0100
summary:
fix PyCompactUnicodeObject doc (test)
files:
Include/unicodeobject.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h
--- a/Include/unicodeobject.h
+++ b/Include/unicodeobject.h
@@ -232,7 +232,7 @@
- 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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list