summaryrefslogtreecommitdiffstats
path: root/Doc
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 /Doc
parent3aa979e0cdf37de946749141565930c1993d4abf (diff)
downloadcpython-df4518ca4ba55fe199b3a36463e644bda712d9b4.zip
cpython-df4518ca4ba55fe199b3a36463e644bda712d9b4.tar.gz
cpython-df4518ca4ba55fe199b3a36463e644bda712d9b4.tar.bz2
Issue #22453: Removed non-documented macro PyObject_REPR().
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.5.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst
index e90f5fa..1e8d639 100644
--- a/Doc/whatsnew/3.5.rst
+++ b/Doc/whatsnew/3.5.rst
@@ -441,3 +441,7 @@ Changes in the C API
* The :c:type:`PyMemAllocator` structure was renamed to
:c:type:`PyMemAllocatorEx` and a new ``calloc`` field was added.
+
+* Removed non-documented macro :c:macro:`PyObject_REPR` which leaked references.
+ Use format character ``%R`` in :c:func:`PyUnicode_FromFormat`-like functions
+ to format the :func:`repr` of the object.