Why is the first result False, should it not be True?
False
True
>>> from collections import OrderedDict >>> OrderedDict.__repr_
The two OrderedDict.__repr__ are not bound to the same object. If you try:
OrderedDict.__repr__
OrderedDict.__repr__ == OrderedDict.__repr__
you'll see that they have the same value.