diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-02-28 00:18:43 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-02-28 00:18:43 (GMT) |
commit | ef85a1ac1510203a06c15f1483b76f2f20b80ede (patch) | |
tree | 8440aa6d04968755fd02e9c421c75f45f70dcf3f /Doc | |
parent | f9ce84b19531531d2f5748fb51404f5149fbd0fb (diff) | |
download | cpython-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.rst | 4 |
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: |