def _matches(self, dbname, driver):
        for db in (dbname, '*'):
            subdict = self.reg[db]
            for drv in (driver, '*'):
                if subdict in drv:
                    return subdict[drv]
        else:
            raise ValueError(
                "No default function found for driver: %r" %
                ("%s+%s" % (dbname, driver)))
dataset/ETHPy150Open openstack/oslo.db/oslo_db/sqlalchemy/utils.py/DialectSingleFunctionDispatcher._matches/swapped operands of `in`