def op_args(x):
    if isvar(x):
        return None, None
    try:
        return operator(x), arguments(x)
    except NotImplementedError:
        return None, None
Break apart x into an operation and tuple of args
dataset/ETHPy150Open logpy/logpy/logpy/assoccomm.py/op_args