Amaury Forgeot d'Arc added the comment: Well, a regular method also takes "self" as its first argument. And it will not appear in the instance's __dict__.
The __dict__ of an object is intended to *store* its attributes. A property can be accessed like an attribute (foo_obj.bar), but it is computed each time, and not stored. Do you know the dir() function? It returns the names of all known attributes of a object, including properties and methods. ---------- nosy: +amaury.forgeotdarc __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2040> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com