summaryrefslogtreecommitdiffstats
path: root/Lib/tempfile.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-01-30 09:11:42 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-01-30 09:11:42 (GMT)
commit40915bf8dd035b193413dc149a58db4f54a785aa (patch)
tree0f2f0153c41ab81c7a4a2afadcfa3d834703ecbd /Lib/tempfile.py
parentc7349ee2c6863263eef4d48ee19f741e6d2244be (diff)
downloadcpython-40915bf8dd035b193413dc149a58db4f54a785aa.zip
cpython-40915bf8dd035b193413dc149a58db4f54a785aa.tar.gz
cpython-40915bf8dd035b193413dc149a58db4f54a785aa.tar.bz2
Thanks to Detlef Lannert for pointing out a typo in the code that
uses _DummyMutex on platforms without threads.
Diffstat (limited to 'Lib/tempfile.py')
-rw-r--r--Lib/tempfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/tempfile.py b/Lib/tempfile.py
index 99177f5..b981084 100644
--- a/Lib/tempfile.py
+++ b/Lib/tempfile.py
@@ -249,7 +249,7 @@ except ImportError:
release = acquire
_counter = _ThreadSafeCounter(_DummyMutex())
- _tempdir_lock = _DummyMutes()
+ _tempdir_lock = _DummyMutex()
del _DummyMutex
else: