]> granicus.if.org Git - python/commitdiff
Add MutableSet example.
authorRaymond Hettinger <python@rcn.com>
Fri, 20 Mar 2009 18:25:49 +0000 (18:25 +0000)
committerRaymond Hettinger <python@rcn.com>
Fri, 20 Mar 2009 18:25:49 +0000 (18:25 +0000)
Doc/library/collections.rst

index 32375a2de6dda2196df9d1c7b1cb37048b1009f3..844b78a8ece83751228d91546cc7935613a9ec43 100644 (file)
@@ -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 <http://code.activestate.com/recipes/576694/>`_ for an
+     example built on :class:`MutableSet`.
+
+   * For more about ABCs, see the :mod:`abc` module and :pep:`3119`.
 
 
 :class:`Counter` objects