[issue2253] continue documentation internally inconsistent

2008-03-08 Thread Georg Brandl

Georg Brandl added the comment:

You're right, the footnote has to be removed. Fixed in r61303.

--
resolution:  - fixed
status: open - closed

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2253
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2253] continue documentation internally inconsistent

2008-03-07 Thread Ben Pfaff

New submission from Ben Pfaff:

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.

--
assignee: georg.brandl
components: Documentation
messages: 63358
nosy: blp, georg.brandl
severity: minor
status: open
title: continue documentation internally inconsistent
versions: Python 2.5

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2253
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com