An iterator with look-ahead
Neil Cerutti
horpner at yahoo.com
Wed Jan 10 10:10:12 EST 2007
More information about the Python-list mailing list
Wed Jan 10 10:10:12 EST 2007
- Previous message (by thread): An iterator with look-ahead
- Next message (by thread): An iterator with look-ahead
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 2007-01-10, Fredrik Lundh <fredrik at pythonware.com> wrote: > if you're doing simple parsing on an iterable, it's easier and > more efficient to pass around the current token and the > iterator's next method: > > http://online.effbot.org/2005_11_01_archive.htm#simple-parser-1 Thank you. Much better. -- Neil Cerutti
- Previous message (by thread): An iterator with look-ahead
- Next message (by thread): An iterator with look-ahead
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list