Skip to content

Commit de9ed78

Browse files
[3.13] gh-151070: Fix class referencing typo in collections.abc docs (GH-151088) (GH-151108)
(cherry picked from commit 29a920e) Co-authored-by: Arshal Aromal <arshalaromal19@gmail.com>
1 parent e7d4c3f commit de9ed78

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)