ncolony/httpcheck.py
def close(self):
        """Discard data and cancel all calls.

        Instance cannot be reused after closing.
        """
        if self.closed:
            raise ValueError("Cannot close a closed state")
        if self.call is not None:
            self.call.cancel()
        self.closed = True
def close(self):
        if self.closed:
            raise ValueError("Cannot close a closed state")
        if self.call is not None:
            self.call.cancel()
        self.closed = True
def close ( self ) : if self . closed : raise ValueError ( "Cannot close a closed state" ) if self . call is not None : self . call . cancel ( ) self . closed = True
Discard data and cancel all calls.

        Instance cannot be reused after closing.
Discard data and cancel all calls .