

@dispatch(Arithmetic)
def _print_python(expr, leaves=None):
    (lhs, left_scope) = print_python(leaves, expr.lhs)
    (rhs, right_scope) = print_python(leaves, expr.rhs)
    return (('%s %s %s' % (parenthesize(lhs), expr.symbol, parenthesize(rhs))), toolz.merge(left_scope, right_scope))

dataset/ETHPy150Open blaze/blaze/blaze/compute/pyfunc.py _print_python/original