On Nov 18, 5:20 pm, Thomas Mlynarczyk <[EMAIL PROTECTED]>
wrote:
> 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.

No, None is a valid value to use with send.  Not all iterators support
send.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to