[Python-checkins] r63407 - sandbox/trunk/ttk-gsoc/src/3.x/ttk.py

guilherme.polo python-checkins at python.org
Sat May 17 16:21:11 CEST 2008


Author: guilherme.polo
Date: Sat May 17 16:21:11 2008
New Revision: 63407

Log:
Forgot to change a iteritems check to items

Modified:
   sandbox/trunk/ttk-gsoc/src/3.x/ttk.py

Modified: sandbox/trunk/ttk-gsoc/src/3.x/ttk.py
==============================================================================
--- sandbox/trunk/ttk-gsoc/src/3.x/ttk.py	(original)
+++ sandbox/trunk/ttk-gsoc/src/3.x/ttk.py	Sat May 17 16:21:11 2008
@@ -228,7 +228,7 @@
 
             # find where args end, and where kwargs start
             argc = 1 # etype was the first one
-            while argc < len(eopts) and not hasattr(eopts[argc], 'iteritems'):
+            while argc < len(eopts) and not hasattr(eopts[argc], 'items'):
                 argc += 1
 
             elemargs = eopts[1:argc]


More information about the Python-checkins mailing list