diff options
author | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> | 2009-01-10 11:48:27 (GMT) |
---|---|---|
committer | Hirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp> | 2009-01-10 11:48:27 (GMT) |
commit | 6c7e56231093f3554df0fd1bc09906f5100f5633 (patch) | |
tree | 2894fd09e3fdda79d301699dd094d4714b3f76be /Lib | |
parent | 5ec09599469fecf810e95a044e44f407d13b4bb6 (diff) | |
download | cpython-6c7e56231093f3554df0fd1bc09906f5100f5633.zip cpython-6c7e56231093f3554df0fd1bc09906f5100f5633.tar.gz cpython-6c7e56231093f3554df0fd1bc09906f5100f5633.tar.bz2 |
Merged revisions 68468-68470 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68468 | hirokazu.yamamoto | 2009-01-10 17:09:43 +0900 | 1 line
Bump up Tcl/Tk version on VC6. (tcl8.4.12 -> tcl8.5.2, tk8.4.12 -> tk8.5.2, tix8.4.0 -> tix8.4.3)
........
r68469 | hirokazu.yamamoto | 2009-01-10 17:12:09 +0900 | 1 line
Link to debug version of Tcl/Tk when python is built as debug version.
........
r68470 | hirokazu.yamamoto | 2009-01-10 18:18:16 +0900 | 1 line
Added helper script to build Tcl/Tk.
........
Diffstat (limited to 'Lib')
-rwxr-xr-x | Lib/tkinter/tix.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/tkinter/tix.py b/Lib/tkinter/tix.py index eb566e2..3bfa539 100755 --- a/Lib/tkinter/tix.py +++ b/Lib/tkinter/tix.py @@ -293,7 +293,7 @@ class TixWidget(tkinter.Widget): else: static_options = ['options'] - for k,v in cnf.items()[:]: + for k,v in list(cnf.items()): if k in static_options: extra = extra + ('-' + k, v) del cnf[k] @@ -448,7 +448,7 @@ class TixSubWidget(TixWidget): # 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 self.children.values(): c.destroy() + for c in list(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: |