generator functions in another language
David
wizzardx at gmail.com
Sun May 4 03:54:14 EDT 2008
On Sun, May 4, 2008 at 1:39 AM, <castironpi at gmail.com> wrote:
> I'm actually curious if there's a way to write a generator function
> (not a generator expression) in C, or what the simplest way to do it
> is... besides link the Python run-time.
> --
Here's the itertools C code:
http://svn.python.org/view/python/trunk/Modules/itertoolsmodule.c?rev=61634&view=markup
David.
More information about the Python-list
mailing list