mirror of https://github.com/python/cpython.git
Docs: fix typo in `Doc/howto/mro.rst` (GH-129095)
This commit is contained in:
parent
417f7a9ef7
commit
da310d209a
|
@ -398,7 +398,7 @@ with inheritance diagram
|
|||
|
||||
We see that class G inherits from F and E, with F *before* E: therefore
|
||||
we would expect the attribute *G.remember2buy* to be inherited by
|
||||
*F.rembermer2buy* and not by *E.remember2buy*: nevertheless Python 2.2
|
||||
*F.remember2buy* and not by *E.remember2buy*: nevertheless Python 2.2
|
||||
gives
|
||||
|
||||
>>> G.remember2buy # doctest: +SKIP
|
||||
|
|
Loading…
Reference in New Issue