Skip to content
Open
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 @@ -1095,13 +1095,13 @@ are always available. They are listed here in alphabetical order.
*classinfo* can be a :ref:`types-union`.


.. function:: issubclass(class, classinfo, /)
.. function:: issubclass(cls, classinfo, /)

Return ``True`` if *class* is a subclass (direct, indirect, or :term:`virtual
Return ``True`` if *cls* 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 recursively, other such tuples)
or a :ref:`types-union`, in which case return ``True`` if *class* is a
or a :ref:`types-union`, in which case return ``True`` if *cls* is a
subclass of any entry in *classinfo*. In any other case, a :exc:`TypeError`
exception is raised.

Expand Down
Loading