Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
73812bf2
Commit
73812bf2
authored
May 11, 2008
by
Alexandre Vassalotti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added test for Queue rename warning.
Added note to documentation about Queue rename.
parent
cf537ff3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
Doc/library/queue.rst
Doc/library/queue.rst
+2
-0
Lib/test/test_py3kwarn.py
Lib/test/test_py3kwarn.py
+1
-1
No files found.
Doc/library/queue.rst
View file @
73812bf2
...
...
@@ -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
...
...
Lib/test/test_py3kwarn.py
View file @
73812bf2
...
...
@@ -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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment