'Lightweight factory which returns a method that builds an Expression
consisting of the left-hand and right-hand operands, using `op`.'

def _e(op, inv=False):

    def inner(self, rhs):
        if inv:
            return Expression(rhs, op, self)
        return Expression(self, op, rhs)
    return inner
