Module ClassDef bases NameLoad body Pass decorator_list FunctionDef arguments args defaults body Print Str Assign NameStore Yield Num Print Str NameLoad Assign NameStore Yield Num Print Str NameLoad TryExcept body Expr Yield Num handlers ExceptHandler type NameLoad body Print Str Expr Yield Num Print Str decorator_list Assign NameStore Call NameLoad Print Call AttributeLoad NameLoad attr Print Call AttributeLoad NameLoad attr Num Print Call AttributeLoad NameLoad attr Num Print Call AttributeLoad NameLoad attr Call NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass
N/A Malfunction N/A Exception N/A N/A N/A my_generator N/A N/A N/A N/A N/A starting up N/A val N/A 1 N/A got: val N/A val N/A 2 N/A got: val N/A N/A N/A N/A 3 N/A N/A N/A Malfunction N/A N/A malfunction! N/A N/A 4 N/A done N/A N/A gen N/A my_generator N/A N/A N/A gen next N/A N/A N/A gen send 10 N/A N/A N/A gen send 20 N/A N/A N/A gen throw N/A Malfunction N/A N/A N/A N/A N/A gen next N/A N/A N/A StopIteration N/A N/A