summaryrefslogtreecommitdiff
path: root/Lib/queue.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/queue.py')
-rw-r--r--Lib/queue.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/queue.py b/Lib/queue.py
index 3cee36b896..572425e844 100644
--- a/Lib/queue.py
+++ b/Lib/queue.py
@@ -6,10 +6,7 @@ except ImportError:
import dummy_threading as threading
from collections import deque
from heapq import heappush, heappop
-try:
- from time import monotonic as time
-except ImportError:
- from time import time
+from time import monotonic as time
__all__ = ['Empty', 'Full', 'Queue', 'PriorityQueue', 'LifoQueue']