Joshua C. Marshall
jayantha at ccs.neu.edu
Thu Feb 17 23:36:18 CET 2000
On Thu, 17 Feb 2000, Fredrik Lundh wrote:
> Joshua C. Marshall <jayantha at ccs.neu.edu> wrote:
> > Given a class object, is there a way to get at its superclass object?
> the thing you're looking for is "__bases__"
Thanks, that's what I needed. Incidently, where is "__bases__" defined?
If "T" is a class object, doing a "dir(T)" doesn't show "__bases__" as a
Sorry if this is a double-post. Doesn't seem my last one went through.
More information about the Python-list