File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7373 "py3.12" : ("https://docs.python.org/3.12/" , None ),
7474 "py3.13" : ("https://docs.python.org/3.13/" , None ),
7575 "py3.14" : ("https://docs.python.org/3.14/" , None ),
76+ "py3.15" : ("https://docs.python.org/3.15/" , None ),
7677 "python" : ("https://docs.python.org/3/" , None ),
7778 "trio" : ("https://trio.readthedocs.io/en/latest/" , None ),
7879 "typing" : ("https://typing.python.org/en/latest/" , None ),
Original file line number Diff line number Diff line change @@ -176,8 +176,8 @@ and are described below.)
176176Runtime restrictions on multiple inheritance
177177--------------------------------------------
178178
179- While Python generally allows multiple inheritance, the runtime imposes various restrictions, as documented in
180- ` CPython <https://docs.python.org/3.15/reference/compound_stmts.html# multiple-inheritance >`__ .
179+ While Python generally allows multiple inheritance, the runtime imposes various restrictions, as
180+ :external+py3.15:ref: ` documented in CPython <multiple-inheritance >`.
181181Two sets of restrictions, around a consistent MRO and a consistent metaclass, can already be implemented by
182182type checkers using information available in the type system. The third restriction, around instance layout,
183183is the one that requires knowledge of disjoint bases. Classes that contain a non-empty ``__slots__ `` definition
You can’t perform that action at this time.
0 commit comments