mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Run 2to3 over the Demo/ directory to shut up parse errors from 2to3 about lingering print statements.
This commit is contained in:
parent
a8c360ee76
commit
6f2df4d5e1
132 changed files with 1070 additions and 1080 deletions
|
|
@ -8,7 +8,7 @@
|
|||
# If cgi0.sh works but cgi1.py doesn't, check the #! line and the file
|
||||
# permissions. The docs for the cgi.py module have debugging tips.
|
||||
|
||||
print "Content-type: text/html"
|
||||
print
|
||||
print "<h1>Hello world</h1>"
|
||||
print "<p>This is cgi1.py"
|
||||
print("Content-type: text/html")
|
||||
print()
|
||||
print("<h1>Hello world</h1>")
|
||||
print("<p>This is cgi1.py")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue