mirror of
https://github.com/python/cpython.git
synced 2025-07-16 07:45:20 +00:00
Fix misused of "PyUnicodeObject" structure name in unicodeobject.h
This commit is contained in:
parent
f7c5ae2257
commit
6f9568bb1f
1 changed files with 2 additions and 2 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue