I did mean the Language reference. chapter "Special method names". It contains a lot of the funky stuff like __dict__ and __getattr__. There is a little info in chapter 3.2 about __class__ : "__class__ is the instance's class."
Adriaan Renting | Email: [EMAIL PROTECTED] ASTRON | Phone: +31 521 595 217 P.O. Box 2 | GSM: +31 6 24 25 17 28 NL-7990 AA Dwingeloo | FAX: +31 521 597 332 The Netherlands | Web: http://www.astron.nl/~renting/ >>>"Diez B. Roggisch" <[EMAIL PROTECTED]> 08/24/05 1:13 pm >>> Adriaan Renting wrote: >You might find the chapter 3.3 (in my python 2.3.4, it's "Special Method >names") in the reference manual useful, it is the only place I have found >sofar that describes most of these special methods. It does however not >contain __class__. I don't know where in the reference manual to find it's >description, probaly in some "Special attribute names" chapter I can't find. Some of these are in the library reference, but lot's of them are also in the language reference - which has bitten me quite a few times, but by now I know where to look... Regards, Diez -- http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list