summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-02-28 03:16:11 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-02-28 03:16:11 (GMT)
commit3263f6874a96c7b2862bd91460a28e66ac039dbe (patch)
tree7a730e6a8890fa5909b5500966cc838eac4862a5 /Doc/c-api
parent738f88f688b7e490725bdcc9186a888998ca0370 (diff)
downloadcpython-3263f6874a96c7b2862bd91460a28e66ac039dbe.zip
cpython-3263f6874a96c7b2862bd91460a28e66ac039dbe.tar.gz
cpython-3263f6874a96c7b2862bd91460a28e66ac039dbe.tar.bz2
Issue #22836: Keep exception reports sensible despite errors
Diffstat (limited to 'Doc/c-api')
-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 3fd69ba..1e708a8 100644
--- a/Doc/c-api/exceptions.rst
+++ b/Doc/c-api/exceptions.rst
@@ -74,8 +74,8 @@ Printing and clearing
: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.
Raising exceptions