diff options
Diffstat (limited to 'Lib/threading.py')
-rw-r--r-- | Lib/threading.py | 3 |
1 files changed, 2 insertions, 1 deletions
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 |