Kaydet (Commit) 20050501 authored tarafından Brett Cannon's avatar Brett Cannon

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

-3.
üst 8df0e4ff
...@@ -151,7 +151,8 @@ class _RLock(_Verbose): ...@@ -151,7 +151,8 @@ class _RLock(_Verbose):
# Internal methods used by condition variables # 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.__block.acquire()
self.__count = count self.__count = count
self.__owner = owner self.__owner = owner
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment