diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-06-29 01:30:28 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-06-29 01:30:28 (GMT) |
commit | 714b74d39f1d9709cc0c0fc55a28b11789f6cae0 (patch) | |
tree | fde292374272fcef8cb8376f8e6bd86ba8c62a27 /Doc | |
parent | 5f6b4a53c243f2e9fc84553ae562ffdcd57bc99a (diff) | |
download | cpython-714b74d39f1d9709cc0c0fc55a28b11789f6cae0.zip cpython-714b74d39f1d9709cc0c0fc55a28b11789f6cae0.tar.gz cpython-714b74d39f1d9709cc0c0fc55a28b11789f6cae0.tar.bz2 |
Merged revisions 82354 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82354 | benjamin.peterson | 2010-06-28 20:27:35 -0500 (Mon, 28 Jun 2010) | 1 line
rephrase and remove uneeded statement
........
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/reference/compound_stmts.rst | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst index b2eef16..9bcb108 100644 --- a/Doc/reference/compound_stmts.rst +++ b/Doc/reference/compound_stmts.rst @@ -272,14 +272,12 @@ was translated to :: try: foo finally: - N = None del N -That means that you have to assign the exception to a different name if you want -to be able to refer to it after the except clause. The reason for this is that -with the traceback attached to them, exceptions will form a reference cycle with -the stack frame, keeping all locals in that frame alive until the next garbage -collection occurs. +This means the exception must be assigned to a different name to be able to +refer to it after the except clause. Exceptions are cleared because with the +traceback attached to them, they form a reference cycle with the stack frame, +keeping all locals in that frame alive until the next garbage collection occurs. .. index:: module: sys |