Message171170
| Author |
mark.dickinson |
| Recipients |
Yury.Selivanov, asvetlov, docs@python, eric.araujo, georg.brandl, mark.dickinson, python-dev, rhettinger |
| Date |
2012年09月24日.18:45:22 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1348512323.02.0.95826218182.issue14167@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I think something went wrong with this doc change. The docs used to say:
"""
If the :keyword:`finally` clause raises another exception or executes a :keyword:`return` or :keyword:`break` statement, the saved exception is lost.
"""
Now we have:
"""
If there is a saved exception or :keyword:`break` statement, it is re-raised at the end of the :keyword:`finally` clause.
"""
which doesn't make much sense (what does 'it' refer to in the case of a 'break' statement), and we seem to have lost the explicit statement that a 'break' in a finally cause swallows exceptions. |
|