remove most uses of list(somedict.keys()) in Demo scripts

This commit is contained in:
Skip Montanaro 2007-08-06 21:07:53 +00:00
parent 28a181cbe8
commit 1e8ce58f5d
17 changed files with 31 additions and 46 deletions

View file

@ -14,7 +14,7 @@ def main():
print("<h1>No Form Keys</h1>")
else:
print("<h1>Form Keys</h1>")
for key in list(form.keys()):
for key in form.keys():
value = form[key].value
print("<p>", cgi.escape(key), ":", cgi.escape(value))