From 1d7f4b285f93e2c915b94f3976c3c70f2c43c8fa Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Mon, 9 Mar 2009 12:54:35 +0000 Subject: [PATCH] Add cross-reference to the collections docs. --- Doc/library/queue.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Doc/library/queue.rst b/Doc/library/queue.rst index acd953d3fd6..e127af2469f 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: