gh-81488: Add recursive wording for issubclass docs (GH-92087)

(cherry picked from commit 1066ecb970)

Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2022-04-30 21:21:51 -07:00 committed by GitHub
parent 31e35bef22
commit a48d31f204
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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.