mirror of
https://github.com/python/cpython.git
synced 2026-06-28 11:50:50 +00:00
[3.15] gh-151070: Fix class referencing typo in collections.abc docs (GH-151088) (GH-151110)
(cherry picked from commit 29a920e80e)
Co-authored-by: Arshal Aromal <arshalaromal19@gmail.com>
This commit is contained in:
parent
5751633fac
commit
fd4f9fa186
1 changed files with 1 additions and 1 deletions
|
|
@ -456,7 +456,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::
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue