Henrik Faber <hfa...@invalid.net> writes:
> How can I make this commutative? Incidentally - this isn't really about commutativity at all - the question is how can you define both left and right versions of add, irrespective of whether they yield the same result. I think __radd__ is what you're after. -- http://mail.python.org/mailman/listinfo/python-list