]> granicus.if.org Git - python/commitdiff
Fix misused of "PyUnicodeObject" structure name in unicodeobject.h
authorVictor Stinner <victor.stinner@haypocalc.com>
Wed, 16 Nov 2011 23:12:44 +0000 (00:12 +0100)
committerVictor Stinner <victor.stinner@haypocalc.com>
Wed, 16 Nov 2011 23:12:44 +0000 (00:12 +0100)
Include/unicodeobject.h

index 3109cf466748ad1e7ccc217766ab6e09992c3189..88bb7c87ce0c376885385782893bb4f61dae8673 100644 (file)
@@ -403,7 +403,7 @@ PyAPI_DATA(PyTypeObject) PyUnicodeIter_Type;
 
 /* --- 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 @@ PyAPI_FUNC(PyObject*) PyUnicode_TransformDecimalToASCII(
     );
 #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. */