On Fri, 2010-11-05 at 01:11 +0000, Walter Prins wrote: > You need to distinguish between what __dict__ *is*, and what it > *contains*. dir() does introspection, it inspects what an object in > Python *is*, e.g. displays all the methods and attributes of the > object. It does not however know anything about what (if anything) > the object might contain, in the data storage sense. [...]
Thank you Walter, now I got it. :) Mac. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor