Newbie - Recursive calls in class objects...
Niki Spahiev
spahievi at vega.bg
Wed Oct 4 02:51:12 EDT 2000
03.10.2000, 03:37:00, Eric wrote:
E> Hi all,
E> To summarize: How do I test if a "__dict__" item is a class object or an
E> instance variable?
E> I am trying to do something like pickling where I recursively call an
E> object's method that prints out the object's instance variables. I am
E> looping thru the object's instance variables, printing each one. I do this
E> with the line:
[..]
This sound like pretty print module in python lib. (pprint)
--
Best regards,
Niki Spahiev
More information about the Python-list
mailing list