Rename Queue module to queue.

Updated documentation to use new name.
Merged revisions 63077 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r63077 | alexandre.vassalotti | 2008-05-11 15:39:48 -0400 (Sun, 11 May 2008) | 3 lines

  Added stub for the Queue module to be renamed in 3.0.
  Use the 3.0 module name to avoid spurious warnings.
........
This commit is contained in:
Alexandre Vassalotti 2008-05-11 19:59:59 +00:00
parent 4e3e21e2cf
commit f260e443ac
12 changed files with 49 additions and 33 deletions

View file

@ -5,7 +5,7 @@ import socket
import traceback
import thread
import threading
import Queue
import queue
from idlelib import CallTips
from idlelib 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)