]> granicus.if.org Git - python/commitdiff
Add cross-reference to the collections docs.
authorRaymond Hettinger <python@rcn.com>
Mon, 9 Mar 2009 12:54:35 +0000 (12:54 +0000)
committerRaymond Hettinger <python@rcn.com>
Mon, 9 Mar 2009 12:54:35 +0000 (12:54 +0000)
Doc/library/queue.rst

index acd953d3fd672723f68528a8d389fabe08966e53..e127af2469fb793f24ff3c9d76ac5be50a16e7b0 100644 (file)
@@ -61,6 +61,12 @@ The :mod:`queue` module defines the following classes and exceptions:
    Exception raised when non-blocking :meth:`put` (or :meth:`put_nowait`) is called
    on a :class:`Queue` object which is full.
 
+.. seealso::
+
+   :class:`collections.deque` is an alternative implementation of unbounded
+   queues with fast atomic :func:`append` and :func:`popleft` operations that
+   do not require locking.
+
 
 .. _queueobjects: