#NEWLINE# def enable( self , **kwargs ) : #NEWLINE# #INDENT# "Enables this counter. Automatically called when one of the\n        'enable_event's is posted. Can also manually be called.\n        " #NEWLINE# super ( Counter , self ) . enable ( ) #NEWLINE# self . machine . events . remove_handler ( self . hit ) #NEWLINE# for event in self . config [ 'count_events' ] : #NEWLINE# #INDENT# self . handler_keys . add ( self . machine . events . add_handler ( kwargs , self . hit ) )