summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-02-28 00:18:43 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-02-28 00:18:43 (GMT)
commitef85a1ac1510203a06c15f1483b76f2f20b80ede (patch)
tree8440aa6d04968755fd02e9c421c75f45f70dcf3f /Doc
parentf9ce84b19531531d2f5748fb51404f5149fbd0fb (diff)
downloadcpython-ef85a1ac1510203a06c15f1483b76f2f20b80ede.zip
cpython-ef85a1ac1510203a06c15f1483b76f2f20b80ede.tar.gz
cpython-ef85a1ac1510203a06c15f1483b76f2f20b80ede.tar.bz2
Issue #22836: Keep exception reports sensible despite errors
Diffstat (limited to 'Doc')
-rw-r--r--Doc/c-api/exceptions.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/exceptions.rst b/Doc/c-api/exceptions.rst
index 65249e1..10e2c4c 100644
--- a/Doc/c-api/exceptions.rst
+++ b/Doc/c-api/exceptions.rst
@@ -404,8 +404,8 @@ is a separate error indicator for each thread.
:meth:`__del__` method.
The function is called with a single argument *obj* that identifies the context
- in which the unraisable exception occurred. The repr of *obj* will be printed in
- the warning message.
+ in which the unraisable exception occurred. If possible,
+ the repr of *obj* will be printed in the warning message.
.. _unicodeexceptions: