homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author fhamand
Recipients fhamand
Date 2013年04月08日.22:59:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1365461950.51.0.580496559991.issue17669@psf.upfronthosting.co.za>
In-reply-to
Content
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()
History
Date User Action Args
2013年04月08日 22:59:10fhamandsetrecipients: + fhamand
2013年04月08日 22:59:10fhamandsetmessageid: <1365461950.51.0.580496559991.issue17669@psf.upfronthosting.co.za>
2013年04月08日 22:59:10fhamandlinkissue17669 messages
2013年04月08日 22:59:10fhamandcreate

AltStyle によって変換されたページ (->オリジナル) /