summaryrefslogtreecommitdiff
path: root/Lib/mutex.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-10-08 14:06:17 +0000
committerGuido van Rossum <guido@python.org>1996-10-08 14:06:17 +0000
commitcc10088e4b912fd4de3a2cc0c4cc3f6fcfad434e (patch)
tree119482941ae5b101a08ad1bb8a59aceb1d341021 /Lib/mutex.py
parent8faf677ccf231bb8e873bf95f305435f0de360a6 (diff)
downloadcpython-cc10088e4b912fd4de3a2cc0c4cc3f6fcfad434e.tar.gz
Change to always call list.append with a single argument.
Diffstat (limited to 'Lib/mutex.py')
-rw-r--r--Lib/mutex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/mutex.py b/Lib/mutex.py
index b897863574..33509c762e 100644
--- a/Lib/mutex.py
+++ b/Lib/mutex.py
@@ -43,7 +43,7 @@ class mutex:
if self.testandset():
function(argument)
else:
- self.queue.append(function, argument)
+ self.queue.append((function, argument))
#
# Unlock a mutex. If the queue is not empty, call the next
# function with its argument.