summaryrefslogtreecommitdiffstats
path: root/Lib/lib-old/Queue.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/lib-old/Queue.py')
-rw-r--r--Lib/lib-old/Queue.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/Lib/lib-old/Queue.py b/Lib/lib-old/Queue.py
new file mode 100644
index 0000000..e358a04
--- /dev/null
+++ b/Lib/lib-old/Queue.py
@@ -0,0 +1,8 @@
+import sys
+from warnings import warnpy3k
+
+warnpy3k("the Queue module has been renamed "
+ "to 'queue' in Python 3.0", stacklevel=2)
+
+import queue
+sys.modules[__name__] = queue