diff --git a/Doc/library/queue.rst b/Doc/library/queue.rst index 2ce871a43e4..ceede527e46 100644 --- a/Doc/library/queue.rst +++ b/Doc/library/queue.rst @@ -5,6 +5,8 @@ .. module:: Queue :synopsis: A synchronized queue class. +.. note:: + The :mod:`Queue` module has been renamed to `queue` in Python 3.0. The :mod:`Queue` module implements multi-producer, multi-consumer queues. It is especially useful in threaded programming when information must be diff --git a/Lib/test/test_py3kwarn.py b/Lib/test/test_py3kwarn.py index 40f7b190455..85a772d6123 100644 --- a/Lib/test/test_py3kwarn.py +++ b/Lib/test/test_py3kwarn.py @@ -183,7 +183,7 @@ class TestStdlibRemovals(unittest.TestCase): class TestStdlibRenames(unittest.TestCase): - renames = {'copy_reg': 'copyreg'} + renames = {'copy_reg': 'copyreg', 'Queue': 'queue'} def check_rename(self, module_name, new_module_name): """Make sure that: