summaryrefslogtreecommitdiffstats
path: root/Lib/mutex.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-10-08 14:06:17 (GMT)
committerGuido van Rossum <guido@python.org>1996-10-08 14:06:17 (GMT)
commitb7f48e39c379e60473c220a586039aa56cea0b50 (patch)
tree3bad8e066d8767e3866430a041f9b25a009013bc /Lib/mutex.py
parent3c7739a75435df0fe5c86b2dec8de3d367212108 (diff)
downloadcpython-b7f48e39c379e60473c220a586039aa56cea0b50.zip
cpython-b7f48e39c379e60473c220a586039aa56cea0b50.tar.gz
cpython-b7f48e39c379e60473c220a586039aa56cea0b50.tar.bz2
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 b897863..33509c7 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.