From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 8 Jun 2026 19:45:16 +0000 (+0200) Subject: [3.13] gh-151070: Fix class referencing typo in collections.abc docs (GH-151088)... X-Git-Tag: v3.13.14~24 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=de9ed78486db8613a09e131cc2ff84337eb0149c;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-151070: Fix class referencing typo in collections.abc docs (GH-151088) (GH-151108) (cherry picked from commit 29a920e80e21490b5bdb7178373f80fe606a4403) Co-authored-by: Arshal Aromal --- diff --git a/Doc/library/collections.abc.rst b/Doc/library/collections.abc.rst index e6daccb91f2b..213c79cc4149 100644 --- a/Doc/library/collections.abc.rst +++ b/Doc/library/collections.abc.rst @@ -459,7 +459,7 @@ Notes on using :class:`Set` and :class:`MutableSet` as a mixin: The :class:`Set` mixin provides a :meth:`!_hash` method to compute a hash value for the set; however, :meth:`~object.__hash__` is not defined because not all sets are :term:`hashable` or immutable. To add set hashability using mixins, - inherit from both :meth:`Set` and :meth:`Hashable`, then define + inherit from both :class:`Set` and :class:`Hashable`, then define ``__hash__ = Set._hash``. .. seealso::