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 -- http://mail.python.org/mailman/listinfo/python-list
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 -- http://mail.python.org/mailman/listinfo/python-list