[docs] [issue31037] Results in section 4.4 break and continue

Lisabel Leon report at bugs.python.org
Tue Jul 25 12:04:20 EDT 2017


Lisabel Leon added the comment:

Thank you Zachary for such a speedy response.
I'll paste text next time.

Rgds!
Lisabel

On Tue, Jul 25, 2017 at 11:56 AM, Zachary Ware <report at bugs.python.org>
wrote:

>
> Zachary Ware added the comment:
>
> Take a look at the statement immediately following the example:
>
> "(Yes, this is the correct code. Look closely: the else clause belongs to
> the for loop, not the if statement.)"
>
> The example is correct, and is introducing the concept of an 'else' clause
> on a for loop.  This is very much not the first report of this that we've
> had, though; perhaps the 'look closely' admonition should be moved before
> the example?
>
> For future reference, please copy and paste the text of your tests rather
> than a screenshot; not all participants can see the screenshot.
>
> ----------
> nosy: +zach.ware
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue31037>
> _______________________________________
>

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31037>
_______________________________________


More information about the docs mailing list