HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by keveman | Hacker News Reader
Full thread
keveman
·
Is there an explanation of how Python yield is implemented?
View on HN
Luyt
·
Yes. See
http://docs.python.org/reference/simple_stmts.html#grammar-t...
, and the source code is pretty well commented:
http://svn.python.org/view/python/trunk/Objects/genobject.c?...
Reply on news.ycombinator.com