summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-02-28 03:29:51 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-02-28 03:29:51 (GMT)
commit8cacc6300258264ff0598478073a7a0e6a3c1be8 (patch)
tree43479294368be68500c525f32b0f1cf2202478dc /Doc/c-api
parentb8d75035f2a2ae17d20532fe2a70dce52430442c (diff)
parent3263f6874a96c7b2862bd91460a28e66ac039dbe (diff)
downloadcpython-8cacc6300258264ff0598478073a7a0e6a3c1be8.zip
cpython-8cacc6300258264ff0598478073a7a0e6a3c1be8.tar.gz
cpython-8cacc6300258264ff0598478073a7a0e6a3c1be8.tar.bz2
Issue #22836: Merge exception reporting from 3.5
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