summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/run.py
diff options
context:
space:
mode:
authorAlexandre Vassalotti <alexandre@peadrop.com>2008-05-11 19:39:48 (GMT)
committerAlexandre Vassalotti <alexandre@peadrop.com>2008-05-11 19:39:48 (GMT)
commit30ece44f2e5397e8501380349fd5278e6f64f555 (patch)
tree769eb0873f3fdeeb6be8bbf1b661418fbf56d48c /Lib/idlelib/run.py
parentca3ccd15ffa92423dac6cdda82507eb45347c1d4 (diff)
downloadcpython-30ece44f2e5397e8501380349fd5278e6f64f555.zip
cpython-30ece44f2e5397e8501380349fd5278e6f64f555.tar.gz
cpython-30ece44f2e5397e8501380349fd5278e6f64f555.tar.bz2
Added stub for the Queue module to be renamed in 3.0.
Use the 3.0 module name to avoid spurious warnings.
Diffstat (limited to 'Lib/idlelib/run.py')
-rw-r--r--Lib/idlelib/run.py4
1 files changed, 2 insertions, 2 deletions
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 socket
import traceback
import thread
import threading
-import Queue
+import queue
import CallTips
import AutoComplete
@@ -85,7 +85,7 @@ def main(del_exitfunc=False):
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)