Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1d7f4b2

Browse files
committed
Add cross-reference to the collections docs.
1 parent fa00796 commit 1d7f4b2

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Doc/library/queue.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ The :mod:`queue` module defines the following classes and exceptions:
6161
Exception raised when non-blocking :meth:`put` (or :meth:`put_nowait`) is called
6262
on a :class:`Queue` object which is full.
6363

64+
.. seealso::
65+
66+
:class:`collections.deque` is an alternative implementation of unbounded
67+
queues with fast atomic :func:`append` and :func:`popleft` operations that
68+
do not require locking.
69+
6470

6571
.. _queueobjects:
6672

0 commit comments

Comments
 (0)