summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2009-03-09 12:57:55 (GMT)
committerRaymond Hettinger <python@rcn.com>2009-03-09 12:57:55 (GMT)
commite1bfcfac2d9e1522065eac15e1cc6b1b07c0852d (patch)
treed38863bdf0cc0c892d3881f27b8f54b0b9adec74 /Doc
parentfb30cca59127475a10c0961cf660d85c035ed7ee (diff)
downloadcpython-e1bfcfac2d9e1522065eac15e1cc6b1b07c0852d.zip
cpython-e1bfcfac2d9e1522065eac15e1cc6b1b07c0852d.tar.gz
cpython-e1bfcfac2d9e1522065eac15e1cc6b1b07c0852d.tar.bz2
Add cross-reference to the collections docs.
Diffstat (limited to 'Doc')
-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: