From: Raymond Hettinger Date: Fri, 20 Mar 2009 18:31:58 +0000 (+0000) Subject: Add MutableSet example. X-Git-Tag: 3.0~307 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=abccecc6000a48b2162180de707ef374b06c0d2f;p=thirdparty%2FPython%2Fcpython.git Add MutableSet example. --- diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index eab4510efc0d..094c629b3676 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: