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

index 6ee97029abeb0395d7338584b51ddb82c3e31bde..0508fcb6047d70526e7b2bf43bba54e9790ea350 100644 (file)
@@ -66,6 +66,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: