type, object hierarchy?

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Mon Feb 4 12:06:11 CET 2008

On Mon, 04 Feb 2008 10:50:10 +0100, Hrvoje Niksic wrote:

> ...regardless of whether dir() is aware of it.

I've always thought that having dir(obj) return only some attributes of 
obj, according to some arbitrary, implementation and version dependent 
algorithm, was an ugly wart.

help(dir) =>
"Return an alphabetized list of names comprising (some of) the attributes
    of the given object, and of attributes reachable from it:"


More information about the Python-list mailing list