mirror of https://github.com/python/cpython
SF patch #892821: example for urllib2 has SyntaxError
(Contributed by George Yoshida.)
This commit is contained in:
parent
3fd977964a
commit
5de33786a9
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue