Style guide for subclassing built-in types?

Fuzzyman fuzzyman at gmail.com
Wed Feb 23 04:14:51 EST 2005


I guess print is using the __repr__ (or __str__ ?) methods of lsit -
which you will need to override as well.

Regards,

Fuzzy
http://www.voidspace.org.uk/python/index.shtml




More information about the Python-list mailing list