Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit deb64ef

Browse files
committed
wrong name for Queue module
1 parent b20923e commit deb64ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pool.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ def __del__(self):
2626
self.o = None
2727

2828
if __name__ == "__main__":
29-
import queue
29+
import Queue
3030

3131
def testObj(Q):
3232
someObj = qObj(Q, True)
3333
print('Inside func: {}'.format(someObj.o))
3434

35-
aQ = queue.Queue()
35+
aQ = Queue.Queue()
3636
aQ.put("yam")
3737

3838
with qObj(aQ) as obj:

0 commit comments

Comments
 (0)