Commit 399ff099 authored by Raymond Hettinger's avatar Raymond Hettinger

Add MutableSet example.

parent 7e6cf31c
......@@ -147,8 +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`.
.. _deque-objects:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment