From 200505015252c5ab029b56a8b69a065d2e1c8adb Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Sat, 2 Aug 2008 03:13:46 +0000 Subject: [PATCH] Remove a tuple unpacking in a parameter list to suppress the SyntaxWarning with -3. --- Lib/threading.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Lib/threading.py b/Lib/threading.py index 8a1de42bea..d88f1be4ea 100644 --- a/Lib/threading.py +++ b/Lib/threading.py @@ -151,7 +151,8 @@ class _RLock(_Verbose): # 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 -- 2.50.0