statsdmetrics/client/__init__.py
def remove_client(self, client):
        # type: (object) -> None
        """Remove the client from the users of the socket.

        If there are no more clients for the socket, it
        will close automatically.
        """

        try:
            self._clients.remove(id(client))
        except ValueError:
            pass

        if len(self._clients) < 1:
            self.close()
def remove_client(self, client):
        # type: (object) -> None
        """Remove the client from the users of the socket.

        If there are no more clients for the socket, it
        will close automatically.
        """

        try:
            self._clients.remove(id(client))
        except ValueError:
            pass

        if len(self._clients) < 1:
            self.close()
def remove_client ( self , client ) : # type: (object) -> None try : self . _clients . remove ( id ( client ) ) except ValueError : pass if len ( self . _clients ) < 1 : self . close ( )
Remove the client from the users of the socket.

        If there are no more clients for the socket, it
        will close automatically.
Remove the client from the users of the socket .