return in loop for ?

yomgui not at
Thu Nov 24 01:03:46 CET 2005

Mike Meyer wrote:
> yomgui <not at> writes:
> > is it legal to return inside a for loop
> > or am I obliged to break out of the loop before returning ?
> Try it and see:

it is not because it does work on an implementation of python
that it will work on any other platform or in the futur.


More information about the Python-list mailing list