(self)
Closes the socket.
Closes the socket.
Closes the socket .
def close(self):
        """
        Closes the socket.
        """
        self.acquire()
        try:
            self.socket.close()
            logging.Handler.close(self)
        finally:
            self.release()
def close ( self ) : self . acquire ( ) try : self . socket . close ( ) logging . Handler . close ( self ) finally : self . release ( )