#NEWLINE# def __init__( self , default_events = True , skip_unknowns = True ) : #NEWLINE# #INDENT# self . events = deque ( ) #NEWLINE# self . events_types = [ ] #NEWLINE# self . skip_unknowns = skip_unknowns #NEWLINE# if default_events : #NEWLINE# #INDENT# self . add_event_types ( generic . STANDARD_EVENTS )