From: Raymond Hettinger Date: Mon, 9 Mar 2009 12:55:52 +0000 (+0000) Subject: Add cross-reference to the collections docs. X-Git-Tag: 3.0~328 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd73d11741b01c7d012af7ce9ee2e20148024f20;p=thirdparty%2FPython%2Fcpython.git Add cross-reference to the collections docs. --- diff --git a/Doc/library/queue.rst b/Doc/library/queue.rst index 689141542ce7..b6b009b668f2 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: