Skip to content

Commit 5f66ad0

Browse files
authored
bpo-44135: Refine explanation of how passing tuples to issubclass() behaves (GH-26193) (GH-28094)
This is a quasi-backport to 3.9 since the wording in this branch is different. Co-authored-by: Zachary Kneupper [email protected]
1 parent 9ab2b48 commit 5f66ad0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/functions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -862,8 +862,8 @@ are always available. They are listed here in alphabetical order.
862862
Return ``True`` if *class* is a subclass (direct, indirect or :term:`virtual
863863
<abstract base class>`) of *classinfo*. A
864864
class is considered a subclass of itself. *classinfo* may be a tuple of class
865-
objects, in which case every entry in *classinfo* will be checked. In any other
866-
case, a :exc:`TypeError` exception is raised.
865+
objects, in which case return ``True`` if *class* is a subclass of any entry
866+
in *classinfo*. In any other case, a :exc:`TypeError` exception is raised.
867867

868868

869869
.. function:: iter(object[, sentinel])

0 commit comments

Comments
 (0)