netimen wrote:
How can I substitute __str__ method of an instance?
It's not possible. For performance and other reasons most __*__ methods are looked up on the type only.
Christian -- http://mail.python.org/mailman/listinfo/python-list
netimen wrote:
How can I substitute __str__ method of an instance?
It's not possible. For performance and other reasons most __*__ methods are looked up on the type only.
Christian -- http://mail.python.org/mailman/listinfo/python-list