From: Raymond Hettinger Date: Fri, 20 Mar 2009 18:33:06 +0000 (+0000) Subject: Add MutableSet example. X-Git-Tag: v3.1a2~246 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=be075b1c4ed96d3b7550833a9a558690c2e6c0f9;p=python Add MutableSet example. --- diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index b136cf1504..4e79e2512d 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -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 `_ for an + example built on :class:`MutableSet`. + + * For more about ABCs, see the :mod:`abc` module and :pep:`3119`. :class:`Counter` objects