#NEWLINE# def on_notify( self , event ) : #NEWLINE# #INDENT# '\n        Notify Observer of event.\n        ' #NEWLINE# if ( event in self . event_dict ) : #NEWLINE# #INDENT# self . event_dict [ event ] ( )