how to make a generator use the last yielded value when it regains control

Lonnie Princehouse finite.automaton at gmail.com
Fri Apr 7 02:23:14 EDT 2006


Here's my take on the thing.  It only prints one term, though.

  http://www.magicpeacefarm.com/lonnie/code/morris.py.html
  
  (a bit too long to post)




More information about the Python-list mailing list