mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
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:
parent
ca3ccd15ff
commit
30ece44f2e
8 changed files with 276 additions and 268 deletions
|
@ -10,7 +10,7 @@ from Tkinter import *
|
|||
import websucker
|
||||
import os
|
||||
import threading
|
||||
import Queue
|
||||
import queue
|
||||
import time
|
||||
|
||||
VERBOSE = 2
|
||||
|
@ -139,7 +139,7 @@ class App:
|
|||
|
||||
def go(self, event=None):
|
||||
if not self.msgq:
|
||||
self.msgq = Queue.Queue(0)
|
||||
self.msgq = queue.Queue(0)
|
||||
self.check_msgq()
|
||||
if not self.sucker:
|
||||
self.sucker = SuckerThread(self.msgq)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue