PyDocs

Nav

Python Runtime Services

object.__mro_entries__

builtins

method of object
  • object.__mro_entries__(self, bases)
If a base that appears in a class definition is not an instance of type, then an __mro_entries__() method is searched on the base. If an __mro_entries__() method is found, the base is substituted with the result of a call to __mro_entries__() when creating the class. The method is called with the original bases tuple passed to the bases parameter, and must return a tuple of classes that will be used instead of the base. The returned tuple may be empty: in these cases, the original base is ignored.
0 Examples
No examples for builtins/object.__mro_entries__.
See Also
No see-alsos for builtins/object.__mro_entries__
0 Notes
No notes for object.__mro_entries__