]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-81488: Add recursive wording for issubclass docs (#92087)
authorslateny <46876382+slateny@users.noreply.github.com>
Sun, 1 May 2022 04:05:20 +0000 (21:05 -0700)
committerGitHub <noreply@github.com>
Sun, 1 May 2022 04:05:20 +0000 (22:05 -0600)
Doc/library/functions.rst

index 394281462ded59569dc6f2994465ed9939ea689d..cb8629689708252b6181cbba33fafb0d9e8cb4f9 100644 (file)
@@ -917,7 +917,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.