#NEWLINE# def bcp_mode_stop( self , name , **kwargs ) : #NEWLINE# #INDENT# "Processes an incoming BCP 'mode_stop' command." #NEWLINE# if ( not name ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# if ( name == 'game' ) : #NEWLINE# #INDENT# self . _game_end ( ) #NEWLINE# #UNINDENT# if ( name in self . modes ) : #NEWLINE# #INDENT# self . modes [ name ] . stop ( )