How different are a generator's send and next methods
Andrey Fedorov
anfedorov at gmail.com
Wed Sep 30 16:24:25 EDT 2009
More information about the Python-list mailing list
Wed Sep 30 16:24:25 EDT 2009
- Previous message (by thread): Quick compare string to list
- Next message (by thread): RotatingFileHandler issue
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
As far as I can tell, a generator's .next() is equivalent to .send(None). Is this true? If so, aren't they unified in a method with a single argument which defaults to None? - Andrey -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-list/attachments/20090930/6539266f/attachment.html>
- Previous message (by thread): Quick compare string to list
- Next message (by thread): RotatingFileHandler issue
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list