Tim Peters wrote:

> The primary use case is "search loops".
> 
> for item in sequence:
>     if desirable(item):
>         break
> else:
>     no desirable item exists

Except that almost all of my search loops are in
functions of their own, and I just use return.
So I don't get to use this use case.

Greg
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to