def __init__(
            self, root_collection, file_id=None, file_document=None,
            _connect=True, delegate=None):
        """Can be created with collection and kwargs like a PyMongo GridOut,
        or with a 'delegate' keyword arg, where delegate is a MotorGridOut.
        """
        if delegate:
            self.delegate = delegate
        else:
            if not isinstance(root_collection, Collection):
                raise TypeError(
                    repr(root_collection) % "Expected Collection, got %s")

            self.delegate = motor.MotorGridOut(
                root_collection.delegate, file_id, file_document)

            if _connect:
                self.synchronize(self.delegate.open)()
dataset/ETHPy150Open mongodb/motor/synchro/__init__.py/GridOut.__init__/swapped operands of `%`