mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
SF patch #892821: example for urllib2 has SyntaxError
(Contributed by George Yoshida.)
This commit is contained in:
parent
3fd977964a
commit
5de33786a9
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue