]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-81488: Add recursive wording for issubclass docs (GH-92087)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 1 May 2022 04:21:51 +0000 (21:21 -0700)
committerGitHub <noreply@github.com>
Sun, 1 May 2022 04:21:51 +0000 (21:21 -0700)
(cherry picked from commit 1066ecb97042b8e89de554e6f9dc2e3d634208c0)

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

index 42fbf4e6f969cd0718223ef989b8a95cd1fa1515..ff81558da14cf8dd04d9f9adf32f57e3d2cd23ed 100644 (file)
@@ -913,7 +913,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 or a :ref:`types-union`, in which case return ``True`` if *class* is a
+   objects (or recursively, other such tuples)
+   or a :ref:`types-union`, 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.