mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
Replace PyObject_Unicode with PyObject_Str everywhere, and remove the
#define for PyObject_Unicode in object.h.
This commit is contained in:
parent
6e8ea0fd9c
commit
519a042c7c
13 changed files with 25 additions and 26 deletions
|
|
@ -432,7 +432,6 @@ PyAPI_FUNC(void) _Py_BreakPoint(void);
|
|||
PyAPI_FUNC(void) _PyObject_Dump(PyObject *);
|
||||
PyAPI_FUNC(PyObject *) PyObject_Repr(PyObject *);
|
||||
PyAPI_FUNC(PyObject *) PyObject_Str(PyObject *);
|
||||
#define PyObject_Unicode PyObject_Str /* Compatibility */
|
||||
PyAPI_FUNC(int) PyObject_Compare(PyObject *, PyObject *);
|
||||
PyAPI_FUNC(PyObject *) PyObject_RichCompare(PyObject *, PyObject *, int);
|
||||
PyAPI_FUNC(int) PyObject_RichCompareBool(PyObject *, PyObject *, int);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue