Originally reported by: peterjc (Bitbucket: peterjc, GitHub: peterjc)
See http://docs.python.org/2/library/thread.html
Python 2:
import thread
Python 3 (or after running the 2to3 imports fixer):
import _thread
I would like to be able to use one of:
from six.moves import thread
or,
from six.moves import _thread
- Bitbucket: https://bitbucket.org/gutworth/six/issue/39
该提问来源于开源项目:benjaminp/six