statsdmetrics/client/__init__.py
def close(self):
        # type: () -> None
        """Close the socket to free system resources.

        After the socket is closed, further operations with socket
        will fail. Multiple calls to close will have no effect.
        """

        if self._closed:
            return
        self._socket.close()
        self._closed = True
def close(self):
        # type: () -> None
        if self._closed:
            return
        self._socket.close()
        self._closed = True
def close ( self ) : # type: () -> None if self . _closed : return self . _socket . close ( ) self . _closed = True
Close the socket to free system resources.

        After the socket is closed, further operations with socket
        will fail. Multiple calls to close will have no effect.
Close the socket to free system resources .