Ran into the following:
>>> class A: ... def __str__(self): ... return \"some A()\" ... >>> class B(A): ... def __str_
The following works:
>>> id(A.__str__.im_func) == id(A.__str__.im_func) True >>> id(B.__str__.im_func) == id(A.__str__.im_func) False