On Thu, Sep 1, 2011 at 1:51 AM, Daniel <dali...@gmail.com> wrote:
>
> Has anyone an idea on a nice way to write breaks/continues/redos for
> deeply
> nested loops?
>

Do you only ever have one top-level loop that you would be naming? If
so, put that loop into a function and use return instead of break.
Unfortunately that doesn't work for continue.

ChrisA
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to