diff --git a/Lib/threading.py b/Lib/threading.py index 8a1de42bea6..d88f1be4ea3 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