Skip to content

Commit 90b4418

Browse files
Update Doc/library/typing.rst
Co-authored-by: Petr Viktorin <encukou@gmail.com>
1 parent adb6834 commit 90b4418

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Doc/library/typing.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3383,6 +3383,10 @@ Functions and decorators
33833383
Users may also mark other classes as disjoint bases to indicate to type checkers that
33843384
multiple inheritance with other disjoint bases should not be allowed.
33853385

3386+
Note that the concept of a solid base is a CPython implementation
3387+
detail, and the exact set of standard library classes that are
3388+
disjoint bases at runtime may change in future versions of Python.
3389+
33863390
.. versionadded:: next
33873391

33883392
.. decorator:: type_check_only

0 commit comments

Comments
 (0)