#NEWLINE# def __call__( self , args , parsed_globals ) : #NEWLINE# #INDENT# instance = self . EventHandlerClass ( self ) #NEWLINE# docevents . generate_events ( self . session , self ) #NEWLINE# self . renderer . render ( self . doc . getvalue ( ) ) #NEWLINE# instance . unregister ( )