Note the new debug assertion in PyObject_Str

This commit is contained in:
Nick Coghlan 2014-02-09 10:57:34 +10:00
parent d979e4335d
commit 3d7b3641d3
2 changed files with 11 additions and 0 deletions

View file

@ -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