summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/object.rst
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2014-02-09 00:57:34 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2014-02-09 00:57:34 (GMT)
commit3d7b3641d3a97a2a3ee936f91fc3f9160c3d11f9 (patch)
treefef919219779e79bae02ce9b4261c85672cce134 /Doc/c-api/object.rst
parentd979e4335d02bee7301c2b2dec61fe2155fbae98 (diff)
downloadcpython-3d7b3641d3a97a2a3ee936f91fc3f9160c3d11f9.zip
cpython-3d7b3641d3a97a2a3ee936f91fc3f9160c3d11f9.tar.gz
cpython-3d7b3641d3a97a2a3ee936f91fc3f9160c3d11f9.tar.bz2
Note the new debug assertion in PyObject_Str
Diffstat (limited to 'Doc/c-api/object.rst')
-rw-r--r--Doc/c-api/object.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/c-api/object.rst b/Doc/c-api/object.rst
index be6d798..78c385e 100644
--- a/Doc/c-api/object.rst
+++ b/Doc/c-api/object.rst
@@ -170,6 +170,10 @@ Object Protocol
Python expression ``str(o)``. Called by the :func:`str` built-in function
and, therefore, by the :func:`print` function.
+ .. versionchanged:: 3.4
+ This function now includes a debug assertion that ensures it does not
+ silently discard an active exception.
+
.. c:function:: PyObject* PyObject_Bytes(PyObject *o)
.. index:: builtin: bytes