'DEPRECATED - Set this client\'s cursor manager.
Raises :class:`TypeError` if `manager_class` is not a subclass of
:class:`~pymongo.cursor_manager.CursorManager`. A cursor manager
handles closing cursors. Different managers can implement different
policies in terms of when to actually kill a cursor that has
been closed.
:Parameters:
- `manager_class`: cursor manager to use
.. versionchanged:: 3.3
Deprecated, for real this time.
.. versionchanged:: 3.0
Undeprecated.'

def set_cursor_manager(self, manager_class):

    warnings.warn('set_cursor_manager    is    Deprecated', DeprecationWarning, stacklevel=2)
    manager = manager_class(self)
    if (not isinstance(manager, CursorManager)):
        raise TypeError('manager_class    must    be    a    subclass    of    CursorManager')
    self.__cursor_manager = manager
