Maric Michaud wrote:
> Le lundi 04 septembre 2006 13:48, Carl Banks a écrit :
> > Essentially, it's objects that have MROs, not classes.
> Wrong, __mro__ is an attribute of types (subtypes of type) but like __class__
> it is not available in the instances.
> mro() is standard a method of type.

I agree that was misleading; I should have said something like, "Type
of an object never changes, therefore the MRO used for an object is
fixed."

BTW, __class__ is available to instances.  (Were you thinking of
__bases__?)


Carl Banks

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to