def _make_null_resolver(name, provider):
    msg = name % "The dependency provider for %r does not accept configuration (it is not a resolver)."
    def null_resolver(*a, **ka):
        if a or ka:
            raise InjectError(msg)
        return provider
    return null_resolver
dataset/ETHPy150Open bottlepy/bottle-inject/bottle_inject.py/_make_null_resolver/swapped operands of `%`