From: Brett Cannon Date: Sat, 2 Aug 2008 03:13:46 +0000 (+0000) Subject: Remove a tuple unpacking in a parameter list to suppress the SyntaxWarning with X-Git-Tag: v2.6b3~175 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=200505015252c5ab029b56a8b69a065d2e1c8adb;p=thirdparty%2FPython%2Fcpython.git 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 8a1de42bea6e..d88f1be4ea37 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