<s> def calledRepeatedly ( ) : <EOL> def generator ( ) : <EOL> yield <NUM_LIT:1> <EOL> yield <NUM_LIT:2> <EOL> yield <NUM_LIT:3> <EOL> gen = generator ( ) <EOL> next ( gen ) <EOL> throw = gen . throw <EOL> exc = GeneratorExit <EOL> try : <EOL> throw ( exc ) <EOL> pass <EOL> except exc : <EOL> pass <EOL> return throw , exc <EOL> for x in xrange ( <NUM_LIT> ) : <EOL> calledRepeatedly ( ) <EOL> print ( "<STR_LIT>" ) </s>
