summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-02-08 20:25:01 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-02-08 20:25:01 (GMT)
commit5de33786a90ba1fc0a2c3ed8a58a01b1dd21a522 (patch)
treefc0a03a1d09bae03457ce3576e508447b5c2c9c6 /Doc
parent3fd977964a037aef66ec9606fa9bfd1d5434b9ac (diff)
downloadcpython-5de33786a90ba1fc0a2c3ed8a58a01b1dd21a522.zip
cpython-5de33786a90ba1fc0a2c3ed8a58a01b1dd21a522.tar.gz
cpython-5de33786a90ba1fc0a2c3ed8a58a01b1dd21a522.tar.bz2
SF patch #892821: example for urllib2 has SyntaxError
(Contributed by George Yoshida.)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/liburllib2.tex3
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/lib/liburllib2.tex b/Doc/lib/liburllib2.tex
index 0020b6c..deea3a4 100644
--- a/Doc/lib/liburllib2.tex
+++ b/Doc/lib/liburllib2.tex
@@ -681,6 +681,5 @@ The code for the sample CGI used in the above example is:
#!/usr/bin/env python
import sys
data = sys.stdin.read()
-print 'Content-type: text-plain\n\nGot Data: "%s"' %
-data
+print 'Content-type: text-plain\n\nGot Data: "%s"' % data
\end{verbatim}