mirror of
https://github.com/python/cpython.git
synced 2025-11-01 02:38:53 +00:00
fix more threading API related bugs
This commit is contained in:
parent
2d9a086410
commit
b03ca4bc68
9 changed files with 27 additions and 27 deletions
|
|
@ -9,7 +9,7 @@ import time
|
|||
from pprint import pprint
|
||||
|
||||
try:
|
||||
from threading import Thread, currentThread
|
||||
from threading import Thread, current_thread
|
||||
have_threads = 1
|
||||
except ImportError:
|
||||
have_threads = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue