[docs] document return statement in finally blocks (issue 14167)

pybugs at rebertia.com pybugs at rebertia.com
Tue Jun 5 01:59:59 CEST 2012


http://bugs.python.org/review/14167/diff/4310/Doc/reference/compound_stmts.rst
File Doc/reference/compound_stmts.rst (right):

http://bugs.python.org/review/14167/diff/4310/Doc/reference/compound_stmts.rst#newcode311
Doc/reference/compound_stmts.rst:311: it is re-raised at the end of the
:keyword:`finally` clause. If the
`break` statements aren't (re-)"raised" [per se] since they aren't
exceptions, so some rephrasing is needed here.

http://bugs.python.org/review/14167/diff/4310/Doc/reference/compound_stmts.rst#newcode312
Doc/reference/compound_stmts.rst:312: :keyword:`finally` clause raises
another exception the saved exception
Could use a comma: "another exception*,* the"

http://bugs.python.org/review/14167/


More information about the docs mailing list