diff options
| author | Georg Brandl <georg@python.org> | 2008-05-16 17:02:34 (GMT) |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2008-05-16 17:02:34 (GMT) |
| commit | bf82e374ee737992235cbe944c9ddbd58236a892 (patch) | |
| tree | f8c8dccaa76d58f9cb7d8cc0abb1355be75ee369 /Tools/modulator/ScrolledListbox.py | |
| parent | acbca71ea775fc488bead0876d0cdbd48670dcbc (diff) | |
| download | cpython-bf82e374ee737992235cbe944c9ddbd58236a892.zip cpython-bf82e374ee737992235cbe944c9ddbd58236a892.tar.gz cpython-bf82e374ee737992235cbe944c9ddbd58236a892.tar.bz2 | |
More 2to3 fixes in the Tools directory. Fixes #2893.
Diffstat (limited to 'Tools/modulator/ScrolledListbox.py')
| -rw-r--r-- | Tools/modulator/ScrolledListbox.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/modulator/ScrolledListbox.py b/Tools/modulator/ScrolledListbox.py index 8bb5738..2ec646d 100644 --- a/Tools/modulator/ScrolledListbox.py +++ b/Tools/modulator/ScrolledListbox.py @@ -19,7 +19,7 @@ class ScrolledListbox(Listbox): fcnf = {} vcnf = {'name': 'vbar', Pack: {'side': 'right', 'fill': 'y'},} - for k in cnf.keys(): + for k in list(cnf.keys()): if type(k) == ClassType or k == 'name': fcnf[k] = cnf[k] del cnf[k] @@ -32,6 +32,6 @@ class ScrolledListbox(Listbox): self.vbar['command'] = (self, 'yview') # Copy Pack methods of self.frame -- hack! - for m in Pack.__dict__.keys(): + for m in Pack.__dict__: if m[0] != '_' and m != 'config': setattr(self, m, getattr(self.frame, m)) |
