diff options
author | Georg Brandl <georg@python.org> | 2011-01-06 09:23:56 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2011-01-06 09:23:56 (GMT) |
commit | b30f3303f70b2a73bd9dec068edcdf78a1c71096 (patch) | |
tree | 4b2206ed4e452ab2ffbd89459005d88b9e9db99c /Doc/reference/compound_stmts.rst | |
parent | 77041b23540764ef0cd4eec4f1368c740daff338 (diff) | |
download | cpython-b30f3303f70b2a73bd9dec068edcdf78a1c71096.zip cpython-b30f3303f70b2a73bd9dec068edcdf78a1c71096.tar.gz cpython-b30f3303f70b2a73bd9dec068edcdf78a1c71096.tar.bz2 |
Fix various issues (mostly Python 2 relics) found by Jacques Ducasse.
Diffstat (limited to 'Doc/reference/compound_stmts.rst')
-rw-r--r-- | Doc/reference/compound_stmts.rst | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst index 1622133..c894d80 100644 --- a/Doc/reference/compound_stmts.rst +++ b/Doc/reference/compound_stmts.rst @@ -285,12 +285,11 @@ keeping all locals in that frame alive until the next garbage collection occurs. Before an except clause's suite is executed, details about the exception are stored in the :mod:`sys` module and can be access via :func:`sys.exc_info`. -:func:`sys.exc_info` returns a 3-tuple consisting of: ``exc_type``, the -exception class; ``exc_value``, the exception instance; ``exc_traceback``, a -traceback object (see section :ref:`types`) identifying the point in the program -where the exception occurred. :func:`sys.exc_info` values are restored to their -previous values (before the call) when returning from a function that handled an -exception. +:func:`sys.exc_info` returns a 3-tuple consisting of the exception class, the +exception instance and a traceback object (see section :ref:`types`) identifying +the point in the program where the exception occurred. :func:`sys.exc_info` +values are restored to their previous values (before the call) when returning +from a function that handled an exception. .. index:: keyword: else |