class print?

Erik Max Francis max at
Sat Oct 7 17:04:54 EDT 2006

SpreadTooThin wrote:

> Hi... Many python object can be printed simpy by saying:
> print obj
> what method(s) need to be implemented in my own classes such that print
> dumps the object?


Erik Max Francis && max at &&
  San Jose, CA, USA && 37 20 N 121 53 W && AIM, Y!M erikmaxfrancis
   Can I walk with you / 'Till the day that my heart stops beating
    -- India Arie

More information about the Python-list mailing list