summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/threading.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/threading.py b/Lib/threading.py
index 415a993..80dd51f 100644
--- a/Lib/threading.py
+++ b/Lib/threading.py
@@ -10,11 +10,10 @@ except ImportError:
from time import time as _time
from traceback import format_exc as _format_exc
from _weakrefset import WeakSet
+from itertools import islice as _islice
try:
- from _itertools import islice as _slice
from _collections import deque as _deque
except ImportError:
- from itertools import islice as _islice
from collections import deque as _deque
# Note regarding PEP 8 compliant names