summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-11-18 21:34:33 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-11-18 21:34:33 (GMT)
commitdf4518ca4ba55fe199b3a36463e644bda712d9b4 (patch)
tree22b9aaf6773af50176db125f8c0d03ac836f7917 /Include
parent3aa979e0cdf37de946749141565930c1993d4abf (diff)
downloadcpython-df4518ca4ba55fe199b3a36463e644bda712d9b4.zip
cpython-df4518ca4ba55fe199b3a36463e644bda712d9b4.tar.gz
cpython-df4518ca4ba55fe199b3a36463e644bda712d9b4.tar.bz2
Issue #22453: Removed non-documented macro PyObject_REPR().
Diffstat (limited to 'Include')
-rw-r--r--Include/object.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/Include/object.h b/Include/object.h
index f3c87eb..e348d61 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -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. */