def build_dispatch_table(cls, code_dict, method_prefix):
        if cls.DISPATCH_TABLE is not None:
            return
        table = {}
        for key, value in code_dict.items():
            if hasattr(cls, "%s%s" % (method_prefix, key)):
                table[value] = getattr(cls, (method_prefix, key) % "%s%s")
        cls.DISPATCH_TABLE = table
dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/_sre.py/_Dispatcher.build_dispatch_table/swapped operands of `%`