

def buildo(op, args, obj):
    ' obj is composed of op on args\n\n    Example: in add(1,2,3) ``add`` is the op and (1,2,3) are the args\n\n    Checks op_regsitry for functions to define op/arg relationships\n    '
    if (not isvar(obj)):
        (oop, oargs) = op_args(oargs)
        return lall((eq, op, oop), (eq, args, oargs))
    else:
        try:
            return eq(obj, build(op, args))
        except TypeError:
            raise EarlyGoalError()
    raise EarlyGoalError()

dataset/ETHPy150Open logpy/logpy/logpy/assoccomm.py buildo/VarMisuse@35/131 `obj`->`oargs`