Mercurial > cpython-lru_cache-weakref
diff Doc/tutorial/stdlib2.rst @ 46899:bd2c95c165ea
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.
........
| author | Alexandre Vassalotti <alexandre@peadrop.com> |
|---|---|
| date | Sun, 11 May 2008 19:59:59 +0000 |
| parents | 42b3b117391d |
| children | 4f1a079df427 |
line wrap: on
line diff
--- a/Doc/tutorial/stdlib2.rst Sun May 11 16:52:22 2008 +0000 +++ b/Doc/tutorial/stdlib2.rst Sun May 11 19:59:59 2008 +0000 @@ -198,7 +198,7 @@ While those tools are powerful, minor design errors can result in problems that are difficult to reproduce. So, the preferred approach to task coordination is to concentrate all access to a resource in a single thread and then use the -:mod:`Queue` module to feed that thread with requests from other threads. +:mod:`queue` module to feed that thread with requests from other threads. Applications using :class:`Queue` objects for inter-thread communication and coordination are easier to design, more readable, and more reliable.
