[Python-checkins] r68475 - python/branches/py3k/Lib/tkinter/tix.py

hirokazu.yamamoto python-checkins at python.org
Sat Jan 10 12:55:57 CET 2009


Author: hirokazu.yamamoto
Date: Sat Jan 10 12:55:57 2009
New Revision: 68475

Log:
Commit miss.

Modified:
   python/branches/py3k/Lib/tkinter/tix.py

Modified: python/branches/py3k/Lib/tkinter/tix.py
==============================================================================
--- python/branches/py3k/Lib/tkinter/tix.py	(original)
+++ python/branches/py3k/Lib/tkinter/tix.py	Sat Jan 10 12:55:57 2009
@@ -293,7 +293,7 @@
         else:
             static_options = ['options']
 
-        for k,v in list(cnf.items()):
+        for k,v in cnf.items()[:]:
             if k in static_options:
                 extra = extra + ('-' + k, v)
                 del cnf[k]
@@ -448,7 +448,7 @@
         # we must be careful not to destroy the frame widget since this
         # also destroys the parent NoteBook thus leading to an exception
         # in Tkinter when it finally calls Tcl to destroy the NoteBook
-        for c in list(self.children.values()): c.destroy()
+        for c in self.children.values(): c.destroy()
         if self._name in self.master.children:
             del self.master.children[self._name]
         if self._name in self.master.subwidget_list:


More information about the Python-checkins mailing list