Is this PEP-able? fwhile

Fábio Santos fabiosantosart at gmail.com
Mon Jun 24 18:39:22 EDT 2013


On 24 Jun 2013 23:35, "Tim Chase" <python.list at tim.thechases.com> wrote:
>
> On 2013-06-25 07:38, Chris Angelico wrote:
> > Python has no issues with breaking out of loops, and even has
> > syntax specifically to complement it (the 'else:' clause). Use
> > break/continue when appropriate.
>
> from minor_gripes import breaking_out_of_nested_loops_to_top_level
>
> -tkc
>

for x, y in itertools.product(range(width), range(height)):
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20130624/b8b076b9/attachment.html>


More information about the Python-list mailing list