Skip to content

Commit 29a920e

Browse files
authored
gh-151070: Fix class referencing typo in collections.abc docs (GH-151088)
1 parent fccf67a commit 29a920e

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
@@ -456,7 +456,7 @@ Notes on using :class:`Set` and :class:`MutableSet` as a mixin:
456456
The :class:`Set` mixin provides a :meth:`!_hash` method to compute a hash value
457457
for the set; however, :meth:`~object.__hash__` is not defined because not all sets
458458
are :term:`hashable` or immutable. To add set hashability using mixins,
459-
inherit from both :meth:`Set` and :meth:`Hashable`, then define
459+
inherit from both :class:`Set` and :class:`Hashable`, then define
460460
``__hash__ = Set._hash``.
461461

462462
.. seealso::

0 commit comments

Comments
 (0)