Update of /cvsroot/pywin32/pywin32/win32/Demos
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv23355/win32/Demos
Modified Files:
win32rcparser_demo.py
Log Message:
Use dict iterator
Index: win32rcparser_demo.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/Demos/win32rcparser_demo.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** win32rcparser_demo.py 1 Oct 2008 14:44:53 -0000 1.3
--- win32rcparser_demo.py 4 Dec 2008 03:36:52 -0000 1.4
***************
*** 64,68 ****
# Load the .rc file.
resources = win32rcparser.Parse(g_rcname)
! for id, ddef in resources.dialogs.items():
print "Displaying dialog", id
w=DemoWindow(ddef)
--- 64,68 ----
# Load the .rc file.
resources = win32rcparser.Parse(g_rcname)
! for id, ddef in resources.dialogs.iteritems():
print "Displaying dialog", id
w=DemoWindow(ddef)
|