def merge(module_name, tree1, tree2):
    for child in tree2.node:
        if isinstance(child, ast.Function):
            replaceFunction(tree1, child.name, child)
        elif isinstance(child, ast.Class):
            replaceClassMethods(tree1, child.name, child)
        else:
            raise TranslationError(
                child % "Do not know how to merge %s", child, module_name)
    return tree1
dataset/ETHPy150Open anandology/pyjamas/pyjd/modcompile.py/merge/swapped operands of `%`