diff options
author | Georg Brandl <georg@python.org> | 2010-03-21 09:02:59 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-03-21 09:02:59 (GMT) |
commit | 482b151caf5a222aa0aed04b2ebf8fab8bbd3ae6 (patch) | |
tree | 1c3a019e88e1d3d016c55002a98beecc96a2dac3 /Doc/library/sys.rst | |
parent | f8754a60a80f255a18ad00ec6eac8764871ceca8 (diff) | |
download | cpython-482b151caf5a222aa0aed04b2ebf8fab8bbd3ae6.zip cpython-482b151caf5a222aa0aed04b2ebf8fab8bbd3ae6.tar.gz cpython-482b151caf5a222aa0aed04b2ebf8fab8bbd3ae6.tar.bz2 |
Fix some issues found by Jacques Ducasse on the docs list.
Diffstat (limited to 'Doc/library/sys.rst')
-rw-r--r-- | Doc/library/sys.rst | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index 5342220..c1a0027 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -127,13 +127,12 @@ always available. .. index:: object: traceback - If no exception is being handled anywhere on the stack, a tuple containing three - ``None`` values is returned. Otherwise, the values returned are ``(type, value, - traceback)``. Their meaning is: *type* gets the exception type of the exception - being handled (a class object); *value* gets the exception parameter (its - :dfn:`associated value` or the second argument to :keyword:`raise`, which is - always a class instance if the exception type is a class object); *traceback* - gets a traceback object (see the Reference Manual) which encapsulates the call + If no exception is being handled anywhere on the stack, a tuple containing + three ``None`` values is returned. Otherwise, the values returned are + ``(type, value, traceback)``. Their meaning is: *type* gets the type of the + exception being handled (a subclass of :exc:`BaseException`); *value* gets + the exception instance (an instance of the exception type); *traceback* gets + a traceback object (see the Reference Manual) which encapsulates the call stack at the point where the exception originally occurred. .. warning:: @@ -508,9 +507,7 @@ always available. more information.) The meaning of the variables is the same as that of the return values from - :func:`exc_info` above. (Since there is only one interactive thread, - thread-safety is not a concern for these variables, unlike for ``exc_type`` - etc.) + :func:`exc_info` above. .. data:: maxsize |