Remove a tuple unpacking in a parameter list to suppress the SyntaxWarning with

-3.
This commit is contained in:
Brett Cannon 2008-08-02 03:13:46 +00:00
parent 8df0e4ffc3
commit 2005050152

View file

@ -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