summaryrefslogtreecommitdiffstats
path: root/Lib/wsgiref
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2006-08-25 02:59:59 (GMT)
committerBrett Cannon <bcannon@gmail.com>2006-08-25 02:59:59 (GMT)
commit0b70cca9f8132b6fe03803abe9e89bd3a00a80ee (patch)
tree032e42eac6b0cf9538d10f468f820381806d1964 /Lib/wsgiref
parentdb60d6e2aa45fdc9f5f560847238a120e8a34f04 (diff)
downloadcpython-0b70cca9f8132b6fe03803abe9e89bd3a00a80ee.zip
cpython-0b70cca9f8132b6fe03803abe9e89bd3a00a80ee.tar.gz
cpython-0b70cca9f8132b6fe03803abe9e89bd3a00a80ee.tar.bz2
Remove usage of backticks.
Diffstat (limited to 'Lib/wsgiref')
-rw-r--r--Lib/wsgiref/headers.py2
-rw-r--r--Lib/wsgiref/simple_server.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/wsgiref/headers.py b/Lib/wsgiref/headers.py
index 0908f60..c364b26 100644
--- a/Lib/wsgiref/headers.py
+++ b/Lib/wsgiref/headers.py
@@ -140,7 +140,7 @@ class Headers:
return self._headers[:]
def __repr__(self):
- return "Headers(%s)" % `self._headers`
+ return "Headers(%r)" % self._headers
def __str__(self):
"""str() returns the formatted headers, complete with end line,
diff --git a/Lib/wsgiref/simple_server.py b/Lib/wsgiref/simple_server.py
index 95996cc..e6c9f38 100644
--- a/Lib/wsgiref/simple_server.py
+++ b/Lib/wsgiref/simple_server.py
@@ -169,7 +169,7 @@ def demo_app(environ,start_response):
print >>stdout
h = environ.items(); h.sort()
for k,v in h:
- print >>stdout, k,'=',`v`
+ print >>stdout, k,'=',repr(v)
start_response("200 OK", [('Content-Type','text/plain')])
return [stdout.getvalue()]