commit | 1e8ce58f5d0db22714d65ff440045a7526ed394d | [log] [tgz] |
---|---|---|
author | Skip Montanaro <skip@pobox.com> | Mon Aug 06 21:07:53 2007 +0000 |
committer | Skip Montanaro <skip@pobox.com> | Mon Aug 06 21:07:53 2007 +0000 |
tree | f705fb923334cffa32492a5bddfcca46ecc27f0a | |
parent | 28a181cbe82bc79df3b881b79b19e12b2e39911b [diff] [blame] |
remove most uses of list(somedict.keys()) in Demo scripts
diff --git a/Demo/scripts/markov.py b/Demo/scripts/markov.py index a91e359..3dc57ce 100755 --- a/Demo/scripts/markov.py +++ b/Demo/scripts/markov.py
@@ -87,7 +87,7 @@ return if debug: print('done.') if debug > 1: - for key in list(m.trans.keys()): + for key in m.trans.keys(): if key is None or len(key) < histsize: print(repr(key), m.trans[key]) if histsize == 0: print(repr(''), m.trans[''])