commit | 5bf3b89dfb57e705733851ec31131c985feeca62 | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Mon Jun 24 19:14:37 2019 -0700 |
committer | GitHub <noreply@github.com> | Mon Jun 24 19:14:37 2019 -0700 |
tree | 26b1cfe5f432496a9bbf66c7ad9de5d972185d9a | |
parent | ced9e11931a7a1c5cf4eef08d0dd4a4886723b43 [diff] [blame] |
bpo-37394: Fix pure Python implementation of the queue module (GH-14351) (cherry picked from commit 3f5b9088b0ed08e1442cca37df78f609d5cd8c3c) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
diff --git a/Lib/queue.py b/Lib/queue.py index ef07957..5bb0431 100644 --- a/Lib/queue.py +++ b/Lib/queue.py
@@ -14,7 +14,7 @@ try: from _queue import Empty -except AttributeError: +except ImportError: class Empty(Exception): 'Exception raised by Queue.get(block=0)/get_nowait().' pass