Chris Angelico wrote:

operator.add is operator.__add__
True

That doesn't always seem to have been the case, however.
In Python 2.7 and 3.3, I get

>>> operator.add is operator.__add__
False

--
Greg
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to