mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Add cross-reference to the collections docs.
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user