Skip to content

Commit 86d579d

Browse files
authored
Replace use of Python keyword in issubclass function documentation
1 parent 70c27ce commit 86d579d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/functions.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,13 +1095,13 @@ are always available. They are listed here in alphabetical order.
10951095
*classinfo* can be a :ref:`types-union`.
10961096

10971097

1098-
.. function:: issubclass(class, classinfo, /)
1098+
.. function:: issubclass(cls, classinfo, /)
10991099

1100-
Return ``True`` if *class* is a subclass (direct, indirect, or :term:`virtual
1100+
Return ``True`` if *cls* is a subclass (direct, indirect, or :term:`virtual
11011101
<abstract base class>`) of *classinfo*. A
11021102
class is considered a subclass of itself. *classinfo* may be a tuple of class
11031103
objects (or recursively, other such tuples)
1104-
or a :ref:`types-union`, in which case return ``True`` if *class* is a
1104+
or a :ref:`types-union`, in which case return ``True`` if *cls* is a
11051105
subclass of any entry in *classinfo*. In any other case, a :exc:`TypeError`
11061106
exception is raised.
11071107

0 commit comments

Comments
 (0)