Ran into the following: >>> class A: ...def __str__(self): ...return \"some A()\" ... >>> class B(A):