8000 gh-81488: Add recursive wording for issubclass docs (#92087) · python/cpython@1066ecb · GitHub
[go: up one dir, main page]

Skip to content

Commit 1066ecb

Browse files
authored
gh-81488: Add recursive wording for issubclass docs (#92087)
1 parent 0729b31 commit 1066ecb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/functions.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,8 @@ are always available. They are listed here in alphabetical order.
917917
Return ``True`` if *class* is a subclass (direct, indirect, or :term:`virtual
918918
<abstract base class>`) of *classinfo*. A
919919
class is considered a subclass of itself. *classinfo* may be a tuple of class
920-
objects or a :ref:`types-union`, in which case return ``True`` if *class* is a
920 4D17 +
objects (or recursively, other such tuples)
921+
or a :ref:`types-union`, in which case return ``True`` if *class* is a
921922
subclass of any entry in *classinfo*. In any other case, a :exc:`TypeError`
922923
exception is raised.
923924

0 commit comments

Comments
 (0)
0