Skip to content

Commit 6f9568b

Browse files
author
Victor Stinner
committed
Fix misused of "PyUnicodeObject" structure name in unicodeobject.h
1 parent f7c5ae2 commit 6f9568b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Include/unicodeobject.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ PyAPI_DATA(PyTypeObject) PyUnicodeIter_Type;
403403

404404
/* --- Flexible String Representation Helper Macros (PEP 393) -------------- */
405405

406-
/* Values for PyUnicodeObject.state: */
406+
/* Values for PyASCIIObject.state: */
407407

408408
/* Interning state. */
409409
#define SSTATE_NOT_INTERNED 0
@@ -1564,7 +1564,7 @@ PyAPI_FUNC(PyObject*) PyUnicode_TransformDecimalToASCII(
15641564
);
15651565
#endif
15661566

1567-
/* Similar to PyUnicode_TransformDecimalToASCII(), but takes a PyUnicodeObject
1567+
/* Similar to PyUnicode_TransformDecimalToASCII(), but takes a PyObject
15681568
as argument instead of a raw buffer and length. This function additionally
15691569
transforms spaces to ASCII because this is what the callers in longobject,
15701570
floatobject, and complexobject did anyways. */

0 commit comments

Comments
 (0)