commit | b7f48e39c379e60473c220a586039aa56cea0b50 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Oct 08 14:06:17 1996 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Oct 08 14:06:17 1996 +0000 |
tree | 3bad8e066d8767e3866430a041f9b25a009013bc | |
parent | 3c7739a75435df0fe5c86b2dec8de3d367212108 [diff] [blame] |
Change to always call list.append with a single argument.
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 @@ 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.