Kaydet (Commit) 6f9568bb authored tarafından Victor Stinner's avatar Victor Stinner

Fix misused of "PyUnicodeObject" structure name in unicodeobject.h

üst f7c5ae22
...@@ -403,7 +403,7 @@ PyAPI_DATA(PyTypeObject) PyUnicodeIter_Type; ...@@ -403,7 +403,7 @@ PyAPI_DATA(PyTypeObject) PyUnicodeIter_Type;
/* --- Flexible String Representation Helper Macros (PEP 393) -------------- */ /* --- Flexible String Representation Helper Macros (PEP 393) -------------- */
/* Values for PyUnicodeObject.state: */ /* Values for PyASCIIObject.state: */
/* Interning state. */ /* Interning state. */
#define SSTATE_NOT_INTERNED 0 #define SSTATE_NOT_INTERNED 0
...@@ -1564,7 +1564,7 @@ PyAPI_FUNC(PyObject*) PyUnicode_TransformDecimalToASCII( ...@@ -1564,7 +1564,7 @@ PyAPI_FUNC(PyObject*) PyUnicode_TransformDecimalToASCII(
); );
#endif #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 as argument instead of a raw buffer and length. This function additionally
transforms spaces to ASCII because this is what the callers in longobject, transforms spaces to ASCII because this is what the callers in longobject,
floatobject, and complexobject did anyways. */ floatobject, and complexobject did anyways. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment