commit | 200505015252c5ab029b56a8b69a065d2e1c8adb | [log] [tgz] |
---|---|---|
author | Brett Cannon <bcannon@gmail.com> | Sat Aug 02 03:13:46 2008 +0000 |
committer | Brett Cannon <bcannon@gmail.com> | Sat Aug 02 03:13:46 2008 +0000 |
tree | 0eeb69d40d13763f3f721f225e688648dac9c8c4 | |
parent | 8df0e4ffc384534be349c4fbb361e9e9a06a8d0b [diff] |
Remove a tuple unpacking in a parameter list to suppress the SyntaxWarning with -3.
diff --git a/Lib/threading.py b/Lib/threading.py index 8a1de42..d88f1be 100644 --- a/Lib/threading.py +++ b/Lib/threading.py
@@ -151,7 +151,8 @@ # Internal methods used by condition variables - def _acquire_restore(self, (count, owner)): + def _acquire_restore(self, count_owner): + count, owner = count_owner self.__block.acquire() self.__count = count self.__owner = owner