[Python-checkins] cpython: Fix misused of "PyUnicodeObject" structure name in unicodeobject.h

victor.stinner python-checkins at python.org
Thu Nov 17 00:47:00 CET 2011


http://hg.python.org/cpython/rev/abe62c9d659d
changeset:   73591:abe62c9d659d
user:        Victor Stinner <victor.stinner at haypocalc.com>
date:        Thu Nov 17 00:12:44 2011 +0100
summary:
  Fix misused of "PyUnicodeObject" structure name in unicodeobject.h

files:
  Include/unicodeobject.h |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h
--- a/Include/unicodeobject.h
+++ b/Include/unicodeobject.h
@@ -403,7 +403,7 @@
 
 /* --- Flexible String Representation Helper Macros (PEP 393) -------------- */
 
-/* Values for PyUnicodeObject.state: */
+/* Values for PyASCIIObject.state: */
 
 /* Interning state. */
 #define SSTATE_NOT_INTERNED 0
@@ -1564,7 +1564,7 @@
     );
 #endif
 
-/* Similar to PyUnicode_TransformDecimalToASCII(), but takes a PyUnicodeObject
+/* Similar to PyUnicode_TransformDecimalToASCII(), but takes a PyObject
    as argument instead of a raw buffer and length.  This function additionally
    transforms spaces to ASCII because this is what the callers in longobject,
    floatobject, and complexobject did anyways. */

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list