#NEWLINE# def get_event_buffer( self ) : #NEWLINE# #INDENT# '\n        Returns and flush the event buffer\n        ' #NEWLINE# d = self . event_buffer #NEWLINE# self . event_buffer = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# return d