mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +00:00
remove most uses of list(somedict.keys()) in Demo scripts
This commit is contained in:
parent
28a181cbe8
commit
1e8ce58f5d
17 changed files with 31 additions and 46 deletions
|
@ -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))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue