'Kill a cursor.
Raises TypeError if cursor_id is not an instance of (int, long).
:Parameters:
- `cursor_id`: cursor id to close
- `address`: the cursor\'s server\'s (host, port) pair
.. versionchanged:: 3.0
Now requires an `address` argument.'

def close(self, cursor_id, address):

    if (not isinstance(cursor_id, integer_types)):
        raise TypeError('cursor_id    must    be    an    integer')
    self.__client().kill_cursors([cursor_id], address)
