From: Raymond Hettinger Date: Mon, 9 Mar 2009 12:56:23 +0000 (+0000) Subject: Add cross-reference to the collections docs. X-Git-Tag: v2.7a1~1882 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9324ed89821fa11f4058d4fe5c7b060a999e73ac;p=python Add cross-reference to the collections docs. --- diff --git a/Doc/library/queue.rst b/Doc/library/queue.rst index 6ee97029ab..0508fcb604 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: