#NEWLINE# def __init__( self , gen_func , yield_type , arg_types , state_types , has_finalizer ) : #NEWLINE# #INDENT# self . gen_func = gen_func #NEWLINE# self . arg_types = tuple ( yield_type ) #NEWLINE# self . state_types = tuple ( state_types ) #NEWLINE# self . has_finalizer = has_finalizer #NEWLINE# name = ( '%s generator(func=%s, args=%s, has_finalizer=%s)' % ( yield_type , self . gen_func , self . arg_types , self . has_finalizer ) ) #NEWLINE# super ( Generator , self ) . __init__ ( name , yield_type )