Add 'The Python 2.3 Method Resolution Order' (#116435)

This commit is contained in:
Hugo van Kemenade 2024-04-15 13:01:15 +03:00 committed by GitHub
parent 57bdb75975
commit 7d0be7aea5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 679 additions and 11 deletions

View file

@ -673,7 +673,7 @@ def cache(user_function, /):
def _c3_merge(sequences):
"""Merges MROs in *sequences* to a single MRO using the C3 algorithm.
Adapted from https://www.python.org/download/releases/2.3/mro/.
Adapted from https://docs.python.org/3/howto/mro.html.
"""
result = []