mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Mention that the MRO algorithm changes in 2.3
This commit is contained in:
parent
b60ea3f01f
commit
88eed70fc8
1 changed files with 3 additions and 0 deletions
|
@ -314,6 +314,9 @@ that state never getting saved.
|
||||||
|
|
||||||
New-style classes follow a different algorithm that's a bit more
|
New-style classes follow a different algorithm that's a bit more
|
||||||
complicated to explain, but does the right thing in this situation.
|
complicated to explain, but does the right thing in this situation.
|
||||||
|
(Note that Python 2.3 changes this algorithm to one that produces the
|
||||||
|
same results in most cases, but produces more useful results for
|
||||||
|
really complicated inheritance graphs.)
|
||||||
|
|
||||||
\begin{enumerate}
|
\begin{enumerate}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue