summaryrefslogtreecommitdiffstats
path: root/Doc/library/queue.rst
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-03-09 12:54:35 (GMT)
committerRaymond Hettinger <python@rcn.com>2009-03-09 12:54:35 (GMT)
commit1d7f4b285f93e2c915b94f3976c3c70f2c43c8fa (patch)
tree0f252da554dfb0d69a5a58e5d08a3581e953d078 /Doc/library/queue.rst
parentfa007965c8cf15a45bb38b3b7432c6df1949c43f (diff)
downloadcpython-1d7f4b285f93e2c915b94f3976c3c70f2c43c8fa.zip
cpython-1d7f4b285f93e2c915b94f3976c3c70f2c43c8fa.tar.gz
cpython-1d7f4b285f93e2c915b94f3976c3c70f2c43c8fa.tar.bz2
Add cross-reference to the collections docs.
Diffstat (limited to 'Doc/library/queue.rst')
-rw-r--r--Doc/library/queue.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/queue.rst b/Doc/library/queue.rst
index acd953d..e127af2 100644
--- a/Doc/library/queue.rst
+++ b/Doc/library/queue.rst
@@ -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: