Issue #22453: Removed non-documented macro PyObject_REPR().

This commit is contained in:
Serhiy Storchaka 2014-11-18 23:34:33 +02:00
parent 3aa979e0cd
commit df4518ca4b
4 changed files with 16 additions and 13 deletions

View file

@ -575,9 +575,6 @@ PyAPI_FUNC(PyObject *) PyObject_Dir(PyObject *);
PyAPI_FUNC(int) Py_ReprEnter(PyObject *);
PyAPI_FUNC(void) Py_ReprLeave(PyObject *);
/* Helper for passing objects to printf and the like */
#define PyObject_REPR(obj) _PyUnicode_AsString(PyObject_Repr(obj))
/* Flag bits for printing: */
#define Py_PRINT_RAW 1 /* No string quotes etc. */