diff options
Diffstat (limited to 'documentation/index.rst')
-rw-r--r-- | documentation/index.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/documentation/index.rst b/documentation/index.rst index 02f3898..49aed01 100644 --- a/documentation/index.rst +++ b/documentation/index.rst @@ -266,7 +266,10 @@ Python 2 and 3. Reraise an exception, possibly with a different traceback. In the simple case, ``reraise(*sys.exc_info())`` with an active exception (in an except block) reraises the current exception with the last traceback. A different - traceback can be specified with the *exc_traceback* parameter. + traceback can be specified with the *exc_traceback* parameter. Note that + since the exception reraising is done within the :func:`reraise` function, + Python will attach the call frame of :func:`reraise` to whatever traceback is + raised. .. function:: with_metaclass(metaclass, *bases) |