From 28cd98f352dcb9728c272d842070602edc69c0a7 Mon Sep 17 00:00:00 2001 From: slateny <46876382+slateny@users.noreply.github.com> Date: Mon, 2 May 2022 07:36:19 -0700 Subject: [3.9] gh-81488: Add recursive wording for issubclass docs (GH-92087) (#92131) (cherry picked from commit 1066ecb97042b8e89de554e6f9dc2e3d634208c0) Co-authored-by: slateny <46876382+slateny@users.noreply.github.com> --- Doc/library/functions.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 937e00b..13d7d6e 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -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 `) 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. -- cgit v0.12