diff options
author | Skip Montanaro <skip@pobox.com> | 2007-08-06 21:07:53 (GMT) |
---|---|---|
committer | Skip Montanaro <skip@pobox.com> | 2007-08-06 21:07:53 (GMT) |
commit | 1e8ce58f5d0db22714d65ff440045a7526ed394d (patch) | |
tree | f705fb923334cffa32492a5bddfcca46ecc27f0a /Demo/tix | |
parent | 28a181cbe82bc79df3b881b79b19e12b2e39911b (diff) | |
download | cpython-1e8ce58f5d0db22714d65ff440045a7526ed394d.zip cpython-1e8ce58f5d0db22714d65ff440045a7526ed394d.tar.gz cpython-1e8ce58f5d0db22714d65ff440045a7526ed394d.tar.bz2 |
remove most uses of list(somedict.keys()) in Demo scripts
Diffstat (limited to 'Demo/tix')
-rwxr-xr-x | Demo/tix/samples/OptMenu.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/tix/samples/OptMenu.py b/Demo/tix/samples/OptMenu.py index 2cf625a..1d39420 100755 --- a/Demo/tix/samples/OptMenu.py +++ b/Demo/tix/samples/OptMenu.py @@ -40,7 +40,7 @@ def RunSample(w): # global variables "demo_opt_from" and "demo_opt_to". Otherwise # the OptionMenu widget will complain about "unknown options"! # - for opt in list(options.keys()): + for opt in options.keys(): from_file.add_command(opt, label=options[opt]) to_file.add_command(opt, label=options[opt]) |