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

index 689141542ce7a7987efdfff59f181a6d0b4ddbe2..b6b009b668f251b2ec611a6103c33c7ec0ef8247 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: