SF patch #892821: example for urllib2 has SyntaxError

(Contributed by George Yoshida.)
This commit is contained in:
Raymond Hettinger 2004-02-08 20:25:01 +00:00
parent 3fd977964a
commit 5de33786a9
1 changed files with 1 additions and 2 deletions

View File

@ -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}