summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2013-03-21 02:28:19 (GMT)
committerRaymond Hettinger <python@rcn.com>2013-03-21 02:28:19 (GMT)
commit3030728138593557fee3a8e2e1ccb2375f8d649c (patch)
tree4649c4f23fe7bcbf63c8f94a9c4dacace243d253 /Lib
parentdac94d619c0456609ce762282571f50b132d0996 (diff)
downloadcpython-3030728138593557fee3a8e2e1ccb2375f8d649c.zip
cpython-3030728138593557fee3a8e2e1ccb2375f8d649c.tar.gz
cpython-3030728138593557fee3a8e2e1ccb2375f8d649c.tar.bz2
Fix import
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