This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: "continue" documentation internally inconsistent
Type: Stage:
Components: Documentation Versions: Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: blp, georg.brandl
Priority: normal Keywords:

Created on 2008-03-07 18:12 by blp, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg63358 - (view) Author: Ben Pfaff (blp) Date: 2008-03-07 18:12
The "continue" documentation says: "continue may only occur
syntactically nested in a for or while loop, but not nested in a
function or class definition or finally statement within that loop."

In a footnote to that documentation, it says: "The restriction on
occurring in the try clause is implementor's laziness and will
eventually be lifted."

But the documentation doesn't say that continue may not occur in the try
clause.  So there is an internal inconsistency here.  Either the
sentence in the footnote is wrong and should be removed, or the main
documentation for continue should say that continue may not occur in a
try clause.
msg63389 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-03-08 09:54
You're right, the footnote has to be removed. Fixed in r61303.
History
Date User Action Args
2022-04-11 14:56:31adminsetgithub: 46506
2008-03-08 09:54:36georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg63389
2008-03-07 18:12:28blpcreate