def __init__(self, delegate):
        if not isinstance(delegate, motor.motor_tornado.MotorGridOutCursor):
            raise TypeError(
                "Expected MotorGridOutCursor, got %r" % delegate)

        self.delegate = delegate
dataset/ETHPy150Open mongodb/motor/synchro/__init__.py/GridOutCursor.__init__/original