From 2cef1a540984985913d5b6d7ffbe760db4889737 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Fri, 20 Mar 2009 18:25:49 +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 32375a2de6d..844b78a8ece 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -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 `_ for an + example built on :class:`MutableSet`. + + * For more about ABCs, see the :mod:`abc` module and :pep:`3119`. :class:`Counter` objects