mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
sort of backport 66038 by aliasing PyObject_Bytes to PyObject_Str
This commit is contained in:
parent
e39be53c3c
commit
14cb6bcf2b
3 changed files with 14 additions and 0 deletions
|
|
@ -458,6 +458,7 @@ PyAPI_FUNC(void) _PyObject_Dump(PyObject *);
|
|||
PyAPI_FUNC(PyObject *) PyObject_Repr(PyObject *);
|
||||
PyAPI_FUNC(PyObject *) _PyObject_Str(PyObject *);
|
||||
PyAPI_FUNC(PyObject *) PyObject_Str(PyObject *);
|
||||
#define PyObject_Bytes PyObject_Str
|
||||
#ifdef Py_USING_UNICODE
|
||||
PyAPI_FUNC(PyObject *) PyObject_Unicode(PyObject *);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue