diff options
author | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-05-11 19:59:59 (GMT) |
---|---|---|
committer | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-05-11 19:59:59 (GMT) |
commit | f260e443ac07bc794fc9409096679b94528868e2 (patch) | |
tree | 244c7542db14c43a2fe52ce5c8b6373d17a19e7f /Doc/library/queue.rst | |
parent | 4e3e21e2cf896295d568828f2d20dc5a25feff54 (diff) | |
download | cpython-f260e443ac07bc794fc9409096679b94528868e2.zip cpython-f260e443ac07bc794fc9409096679b94528868e2.tar.gz cpython-f260e443ac07bc794fc9409096679b94528868e2.tar.bz2 |
Rename Queue module to queue.
Updated documentation to use new name.
Merged revisions 63077 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r63077 | alexandre.vassalotti | 2008-05-11 15:39:48 -0400 (Sun, 11 May 2008) | 3 lines
Added stub for the Queue module to be renamed in 3.0.
Use the 3.0 module name to avoid spurious warnings.
........
Diffstat (limited to 'Doc/library/queue.rst')
-rw-r--r-- | Doc/library/queue.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/queue.rst b/Doc/library/queue.rst index 7cb07c8..4b9a1eb 100644 --- a/Doc/library/queue.rst +++ b/Doc/library/queue.rst @@ -1,12 +1,12 @@ -:mod:`Queue` --- A synchronized queue class +:mod:`queue` --- A synchronized queue class =========================================== -.. module:: Queue +.. module:: queue :synopsis: A synchronized queue class. -The :mod:`Queue` module implements multi-producer, multi-consumer queues. +The :mod:`queue` module implements multi-producer, multi-consumer queues. It is especially useful in threaded programming when information must be exchanged safely between multiple threads. The :class:`Queue` class in this module implements all the required locking semantics. It depends on the @@ -20,7 +20,7 @@ the first retrieved (operating like a stack). With a priority queue, the entries are kept sorted (using the :mod:`heapq` module) and the lowest valued entry is retrieved first. -The :mod:`Queue` module defines the following classes and exceptions: +The :mod:`queue` module defines the following classes and exceptions: .. class:: Queue(maxsize) |