diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-11-16 23:12:44 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-11-16 23:12:44 (GMT) |
commit | 6f9568bb1faa986f547d541817bc3e0dec708127 (patch) | |
tree | b1e1e9d3c788312f91708f0ce4820230cfa67380 /Include/unicodeobject.h | |
parent | f7c5ae225725893fe1cc0bb2b97d89182eac2c2e (diff) | |
download | cpython-6f9568bb1faa986f547d541817bc3e0dec708127.zip cpython-6f9568bb1faa986f547d541817bc3e0dec708127.tar.gz cpython-6f9568bb1faa986f547d541817bc3e0dec708127.tar.bz2 |
Fix misused of "PyUnicodeObject" structure name in unicodeobject.h
Diffstat (limited to 'Include/unicodeobject.h')
-rw-r--r-- | Include/unicodeobject.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h index 3109cf4..88bb7c8 100644 --- a/Include/unicodeobject.h +++ b/Include/unicodeobject.h @@ -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. */ |