(self)
Return this instance's socket to the connection pool.
Return this instance's socket to the connection pool.
Return this instance s socket to the connection pool .
def close(self):
        """Return this instance's socket to the connection pool.
        """
        if not self.__closed:
            self.__closed = True
            self.pool.return_socket(self.sock)
            self.sock, self.pool = None, None
def close ( self ) : if not self . __closed : self . __closed = True self . pool . return_socket ( self . sock ) self . sock , self . pool = None , None