https://github.com/python/cpython/commit/a8003f6d86604a49d82be06d71bdae31c775f0a0 commit: a8003f6d86604a49d82be06d71bdae31c775f0a0 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka <[email protected]> date: 2026-06-08T19:46:34Z summary:
[3.14] gh-151070: Fix class referencing typo in collections.abc docs (GH-151088) (GH-151109) (cherry picked from commit 29a920e80e21490b5bdb7178373f80fe606a4403) Co-authored-by: Arshal Aromal <[email protected]> files: M Doc/library/collections.abc.rst diff --git a/Doc/library/collections.abc.rst b/Doc/library/collections.abc.rst index e6daccb91f2b4e..213c79cc41494c 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:: _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
