Add MutableSet example.

This commit is contained in:
Raymond Hettinger 2009-03-20 18:25:49 +00:00
parent efc82f7e8e
commit 2cef1a5409
1 changed files with 6 additions and 1 deletions

View File

@ -147,7 +147,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