Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Doc/library/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -916,9 +916,9 @@ 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 every entry in *classinfo*
will be checked. In any other
case, a :exc:`TypeError` exception is raised.
objects 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.

.. versionchanged:: 3.10
*classinfo* can be a :ref:`types-union`.
Expand Down