From: Raymond Hettinger Date: Fri, 20 Mar 2009 18:30:29 +0000 (+0000) Subject: Add MutableSet example. X-Git-Tag: v2.6.2c1~88 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=399ff09961bbe8b6688267e7bd2f7f056bae5dc5;p=thirdparty%2FPython%2Fcpython.git Add MutableSet example. --- diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index a860a53a7197..4ef0ca4488ea 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -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 `_ for an + example built on :class:`MutableSet`. + * For more about ABCs, see the :mod:`abc` module and :pep:`3119`. .. _deque-objects: