We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb9ef70 commit dc433c4Copy full SHA for dc433c4
1 file changed
Doc/reference/datamodel.rst
@@ -2097,6 +2097,12 @@ Resolving MRO entries
2097
of classes that will be used instead of the base. The returned tuple may be
2098
empty: in these cases, the original base is ignored.
2099
2100
+
2101
+.. attribute:: type.__orig_bases__
2102
2103
+ If the class originally had bases modified by :meth:`~object.__mro_entries__`,
2104
+ this the *bases* tuple.
2105
2106
.. seealso::
2107
2108
:func:`types.resolve_bases`
0 commit comments