[Tutor] overloading object for printing?

Joe Music misterstaypuff at yahoo.com
Sat Aug 14 09:21:37 CEST 2004


Is there some equivalent in Python to the to_s()
method in Java which a class can overload in order to
customize the output of an object?  Thanks.




		
_______________________________
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now. 
http://messenger.yahoo.com


More information about the Tutor mailing list