summaryrefslogtreecommitdiffstats
path: root/Doc/library/queue.rst
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-03-09 12:56:23 (GMT)
committerRaymond Hettinger <python@rcn.com>2009-03-09 12:56:23 (GMT)
commit9324ed89821fa11f4058d4fe5c7b060a999e73ac (patch)
tree0b58cbafba862ef9f7a3c3786abb9657c1db826a /Doc/library/queue.rst
parent3496a89f27515f555fe730a7855114a39e7dec4c (diff)
downloadcpython-9324ed89821fa11f4058d4fe5c7b060a999e73ac.zip
cpython-9324ed89821fa11f4058d4fe5c7b060a999e73ac.tar.gz
cpython-9324ed89821fa11f4058d4fe5c7b060a999e73ac.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 6ee9702..0508fcb 100644
--- a/Doc/library/queue.rst
+++ b/Doc/library/queue.rst
@@ -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: