Skip to content

Commit 61d741f

Browse files
arshalaromalmiss-islington
authored andcommitted
gh-151070: Fix class referencing typo in collections.abc docs (GH-151088)
(cherry picked from commit 29a920e) Co-authored-by: Arshal Aromal <arshalaromal19@gmail.com>
1 parent 0977fc2 commit 61d741f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/collections.abc.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ Notes on using :class:`Set` and :class:`MutableSet` as a mixin:
459459
The :class:`Set` mixin provides a :meth:`!_hash` method to compute a hash value
460460
for the set; however, :meth:`~object.__hash__` is not defined because not all sets
461461
are :term:`hashable` or immutable. To add set hashability using mixins,
462-
inherit from both :meth:`Set` and :meth:`Hashable`, then define
462+
inherit from both :class:`Set` and :class:`Hashable`, then define
463463
``__hash__ = Set._hash``.
464464

465465
.. seealso::

0 commit comments

Comments
 (0)