[Python-checkins] r65386 - python/trunk/Lib/threading.py
brett.cannon
python-checkins at python.org
Sat Aug 2 05:13:46 CEST 2008
Author: brett.cannon
Date: Sat Aug 2 05:13:46 2008
New Revision: 65386
Log:
Remove a tuple unpacking in a parameter list to suppress the SyntaxWarning with
-3.
Modified:
python/trunk/Lib/threading.py
Modified: python/trunk/Lib/threading.py
==============================================================================
--- python/trunk/Lib/threading.py (original)
+++ python/trunk/Lib/threading.py Sat Aug 2 05:13:46 2008
@@ -151,7 +151,8 @@
# 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
More information about the Python-checkins
mailing list