diff options
author | Guido van Rossum <guido@python.org> | 1996-10-08 14:06:17 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-10-08 14:06:17 (GMT) |
commit | b7f48e39c379e60473c220a586039aa56cea0b50 (patch) | |
tree | 3bad8e066d8767e3866430a041f9b25a009013bc /Lib/mutex.py | |
parent | 3c7739a75435df0fe5c86b2dec8de3d367212108 (diff) | |
download | cpython-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.py | 2 |
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. |