We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f8564ee + bbc6ce8 commit aac65c1Copy full SHA for aac65c1
src/_thread/__init__.py
@@ -3,7 +3,10 @@
3
__future_module__ = True
4
5
if sys.version_info[0] < 3:
6
- from dummy_thread import *
+ try:
7
+ from thread import *
8
+ except ImportError:
9
+ from dummy_thread import *
10
else:
11
raise ImportError('This package should not be accessible on Python 3. '
12
'Either you are trying to run from the python-future src folder '
0 commit comments