summaryrefslogtreecommitdiffstats
path: root/Doc/library/wsgiref.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-02-01 11:56:49 (GMT)
committerGeorg Brandl <georg@python.org>2008-02-01 11:56:49 (GMT)
commitf69451833191454bfef75804c2654dc37e8f3e93 (patch)
tree7e81560f5276c35f68b7b02e75feb9221a82ae5d /Doc/library/wsgiref.rst
parentf25ef50549d9f2bcb6294fe61a9902490728edcc (diff)
downloadcpython-f69451833191454bfef75804c2654dc37e8f3e93.zip
cpython-f69451833191454bfef75804c2654dc37e8f3e93.tar.gz
cpython-f69451833191454bfef75804c2654dc37e8f3e93.tar.bz2
Update docs w.r.t. PEP 3100 changes -- patch for GHOP by Dan Finnie.
Diffstat (limited to 'Doc/library/wsgiref.rst')
-rw-r--r--Doc/library/wsgiref.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/wsgiref.rst b/Doc/library/wsgiref.rst
index e43d850..55d780f 100644
--- a/Doc/library/wsgiref.rst
+++ b/Doc/library/wsgiref.rst
@@ -169,7 +169,7 @@ also provides these miscellaneous utilities:
wrapper = FileWrapper(filelike, blksize=5)
for chunk in wrapper:
- print chunk
+ print(chunk)
@@ -428,7 +428,7 @@ Paste" library.
validator_app = validator(simple_app)
httpd = make_server('', 8000, validator_app)
- print "Listening on port 8000...."
+ print("Listening on port 8000....")
httpd.serve_forever()
@@ -720,7 +720,7 @@ This is a working "Hello World" WSGI application::
return ["Hello World"]
httpd = make_server('', 8000, hello_world_app)
- print "Serving on port 8000..."
+ print("Serving on port 8000...")
# Serve until process is killed
httpd.serve_forever()