diff options
author | Georg Brandl <georg@python.org> | 2014-10-31 08:41:46 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-10-31 08:41:46 (GMT) |
commit | e4196d3f2e3a8f30072029084f4b25577b1d84aa (patch) | |
tree | 0a60c8a1e2ea32b8012a6db7e669fe298b6e17fc /Doc/library/exceptions.rst | |
parent | f0d2ed73ac6fff027dd5f309a3979e26beca7be9 (diff) | |
download | cpython-e4196d3f2e3a8f30072029084f4b25577b1d84aa.zip cpython-e4196d3f2e3a8f30072029084f4b25577b1d84aa.tar.gz cpython-e4196d3f2e3a8f30072029084f4b25577b1d84aa.tar.bz2 |
#22613: fix several factual errors in builtin docs (thanks Jacques Ducasse)
Diffstat (limited to 'Doc/library/exceptions.rst')
-rw-r--r-- | Doc/library/exceptions.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst index 74d6fcb..5892154 100644 --- a/Doc/library/exceptions.rst +++ b/Doc/library/exceptions.rst @@ -34,7 +34,8 @@ class or one of its subclasses, and not from :exc:`BaseException`. More information on defining exceptions is available in the Python Tutorial under :ref:`tut-userexceptions`. -When raising (or re-raising) an exception in an :keyword:`except` clause +When raising (or re-raising) an exception in an :keyword:`except` or +:keyword:`finally` clause :attr:`__context__` is automatically set to the last exception caught; if the new exception is not handled the traceback that is eventually displayed will include the originating exception(s) and the final exception. |