def on_close(self):
print('<STR_LIT>')<EOL>self.remove_client()<EOL>client_count = len(list(self.get_clients().keys()))<EOL>new_client_message = '<STR_LIT>' % (client_count, '<STR_LIT>' if client_count <= <NUM_LIT:1> else '<STR_LIT>')<EOL>self.broadcast(new_client_message)<EOL>
method which is called every time a client disconnects