Skip to content

Commit 09e17d4

Browse files
committed
Remove import of dummy_thread from _thread module (issue #124)
1 parent aac65c1 commit 09e17d4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/_thread/__init__.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33
__future_module__ = True
44

55
if sys.version_info[0] < 3:
6-
try:
7-
from thread import *
8-
except ImportError:
9-
from dummy_thread import *
6+
from thread import *
107
else:
118
raise ImportError('This package should not be accessible on Python 3. '
129
'Either you are trying to run from the python-future src folder '

0 commit comments

Comments
 (0)