#NEWLINE# def handle_event( event , server ) : #NEWLINE# #INDENT# handler = event_handlers . get ( event . get ( 'type' ) ) #NEWLINE# if handler : #NEWLINE# #INDENT# return handler ( server , server )