mirror of
https://github.com/python/cpython.git
synced 2024-11-29 12:54:02 +08:00
Add MutableSet example.
This commit is contained in:
parent
d72c7b671e
commit
be075b1c4e
@ -132,7 +132,12 @@ Notes on using :class:`Set` and :class:`MutableSet` as a mixin:
|
||||
inherit from both :meth:`Set` and :meth:`Hashable`, then define
|
||||
``__hash__ = Set._hash``.
|
||||
|
||||
(For more about ABCs, see the :mod:`abc` module and :pep:`3119`.)
|
||||
.. seealso::
|
||||
|
||||
* `OrderedSet recipe <http://code.activestate.com/recipes/576694/>`_ for an
|
||||
example built on :class:`MutableSet`.
|
||||
|
||||
* For more about ABCs, see the :mod:`abc` module and :pep:`3119`.
|
||||
|
||||
|
||||
:class:`Counter` objects
|
||||
|
Loading…
Reference in New Issue
Block a user