]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.9] gh-81488: Add recursive wording for issubclass docs (GH-92087) (#92131)
authorslateny <46876382+slateny@users.noreply.github.com>
Mon, 2 May 2022 14:36:19 +0000 (07:36 -0700)
committerGitHub <noreply@github.com>
Mon, 2 May 2022 14:36:19 +0000 (08:36 -0600)
(cherry picked from commit 1066ecb97042b8e89de554e6f9dc2e3d634208c0)

Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
Doc/library/functions.rst

index 937e00bf994e6b15358a16a4728b93bc6bf16834..13d7d6e5b0aa3506414a9b6bb6f78e8367729da6 100644 (file)
@@ -862,7 +862,8 @@ are always available.  They are listed here in alphabetical order.
    Return ``True`` if *class* is a subclass (direct, indirect or :term:`virtual
    <abstract base class>`) of *classinfo*.  A
    class is considered a subclass of itself. *classinfo* may be a tuple of class
-   objects, in which case return ``True`` if *class* is a subclass of any entry
+   objects (or recursively, other such tuples),
+   in which case return ``True`` if *class* is a subclass of any entry
    in *classinfo*.  In any other case, a :exc:`TypeError` exception is raised.