From abccecc6000a48b2162180de707ef374b06c0d2f Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Fri, 20 Mar 2009 18:31:58 +0000 Subject: [PATCH] Add MutableSet example. --- Doc/library/collections.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index eab4510efc..094c629b36 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -135,7 +135,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 `_ for an + example built on :class:`MutableSet`. + + * For more about ABCs, see the :mod:`abc` module and :pep:`3119`. .. _deque-objects: