PEP 255: Simple Generators

Tim Peters tim.one at home.com
Mon Jun 25 04:29:01 CEST 2001


[Roman Suzi]
> ...
> Probably, [g]comb could be added to regression tests of generators.

Thanks to the magic of doctest <wink>, gcomb was added to the std
test_generators.py test (in the CVS tree, under Lib/test/) a few minutes
after it was posted here.  BTW, there are several other nifty examples of
generators in the test.





More information about the Python-list mailing list