mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Thanks to Detlef Lannert for pointing out a typo in the code that
uses _DummyMutex on platforms without threads.
This commit is contained in:
parent
c7349ee2c6
commit
40915bf8dd
1 changed files with 1 additions and 1 deletions
|
|
@ -249,7 +249,7 @@ except ImportError:
|
|||
release = acquire
|
||||
|
||||
_counter = _ThreadSafeCounter(_DummyMutex())
|
||||
_tempdir_lock = _DummyMutes()
|
||||
_tempdir_lock = _DummyMutex()
|
||||
del _DummyMutex
|
||||
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue