Aaron Brady schrieb:
And, if you don't intend to use 'myway' on 'listiterator's and such, 'send( None )' is equivalent to 'next( )'.
I didn't know that. But doesn't that impose a restriction somehow? It makes it impossible to send a None to a generator.
Greetings, Thomas -- Ce n'est pas parce qu'ils sont nombreux à avoir tort qu'ils ont raison! (Coluche) -- http://mail.python.org/mailman/listinfo/python-list