mirror of
https://github.com/python/cpython.git
synced 2025-07-29 14:15:07 +00:00
Remove a tuple unpacking in a parameter list to suppress the SyntaxWarning with
-3.
This commit is contained in:
parent
8df0e4ffc3
commit
2005050152
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue