#NEWLINE# def disconnected( self , client ) : #NEWLINE# #INDENT# 'Call this method when a client disconnected.' #NEWLINE# if ( client not in self . clients ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# self . clients . remove ( client ) #NEWLINE# self . _log_disconnected ( client ) #NEWLINE# self . _close ( client )