FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

wrong name for Queue module · Pythoning/python-patterns@deb64ef · GitHub

Commit deb64ef

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

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎pool.py‎

Lines changed: 2 additions & 2 deletions
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)

Back | FazBrowse Home | New Git URL