Commit fb288dac authored by Benjamin Peterson's avatar Benjamin Peterson

rephrase and remove uneeded statement

parent 3778db7b
...@@ -272,14 +272,12 @@ was translated to :: ...@@ -272,14 +272,12 @@ was translated to ::
try: try:
foo foo
finally: finally:
N = None
del N del N
That means that you have to assign the exception to a different name if you want This means the exception must be assigned to a different name to be able to
to be able to refer to it after the except clause. The reason for this is that refer to it after the except clause. Exceptions are cleared because with the
with the traceback attached to them, exceptions will form a reference cycle with traceback attached to them, they form a reference cycle with the stack frame,
the stack frame, keeping all locals in that frame alive until the next garbage keeping all locals in that frame alive until the next garbage collection occurs.
collection occurs.
.. index:: .. index::
module: sys module: sys
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment