mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
gh-101688: Implement types.get_original_bases (#101827)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
parent
05b3ce7339
commit
730bbddfdf
6 changed files with 146 additions and 0 deletions
|
@ -2102,6 +2102,10 @@ Resolving MRO entries
|
|||
:func:`types.resolve_bases`
|
||||
Dynamically resolve bases that are not instances of :class:`type`.
|
||||
|
||||
:func:`types.get_original_bases`
|
||||
Retrieve a class's "original bases" prior to modifications by
|
||||
:meth:`~object.__mro_entries__`.
|
||||
|
||||
:pep:`560`
|
||||
Core support for typing module and generic types.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue