Added stub for the Queue module to be renamed in 3.0.
Use the 3.0 module name to avoid spurious warnings.
diff --git a/Lib/idlelib/run.py b/Lib/idlelib/run.py
index 7827c74..8abbe50 100644
--- a/Lib/idlelib/run.py
+++ b/Lib/idlelib/run.py
@@ -5,7 +5,7 @@
import traceback
import thread
import threading
-import Queue
+import queue
import CallTips
import AutoComplete
@@ -85,7 +85,7 @@
continue
try:
seq, request = rpc.request_queue.get(block=True, timeout=0.05)
- except Queue.Empty:
+ except queue.Empty:
continue
method, args, kwargs = request
ret = method(*args, **kwargs)