#NEWLINE# def insert_generator( self , genty , gendesc , libs = ( ) ) : #NEWLINE# #INDENT# assert isinstance ( genty , types . Generator ) #NEWLINE# impl = user_generator ( libs , libs ) #NEWLINE# self . _generators [ genty ] = ( gendesc , impl )