diff options
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. |