Metaclass hierarchy? (was Re: Superclasses)
Gordon McMillan
gmcm at hypernet.com
Fri Feb 18 09:32:05 EST 2000
Joshua C. Marshall wrote:
> .... If "T" is a
> class object, "dir(T)" does not show "__bases__" as a field. What is the
> lookup rule for getting fields from class objects? Is it similar to
> getting fields from instances (where the interpreter goes up the class
> hierarchy until it finds what you're looking for)? If so, what hierarchy
> is being examined?
See \Doc\ref\types.html.
- Gordon
More information about the Python-list
mailing list