Message186355
The file contents so people dont have to download the zip:
generators.py:
---------------------------
def subgen():
yield
def other_gen(self):
move = yield from subgen()
game.py:
---------------------------
class Game(object):
def __init__(self):
self.gen = self.first_gen()
next(self.gen)
def first_gen(self):
while True:
from generators import \
other_gen
yield from other_gen(self)
test.py:
---------------------------
from game import Game
Game() |
|
Date |
User |
Action |
Args |
2013-04-08 22:59:10 | fhamand | set | recipients:
+ fhamand |
2013-04-08 22:59:10 | fhamand | set | messageid: <1365461950.51.0.580496559991.issue17669@psf.upfronthosting.co.za> |
2013-04-08 22:59:10 | fhamand | link | issue17669 messages |
2013-04-08 22:59:10 | fhamand | create | |
|