From 5de33786a90ba1fc0a2c3ed8a58a01b1dd21a522 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Sun, 8 Feb 2004 20:25:01 +0000 Subject: [PATCH] SF patch #892821: example for urllib2 has SyntaxError (Contributed by George Yoshida.) --- Doc/lib/liburllib2.tex | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Doc/lib/liburllib2.tex b/Doc/lib/liburllib2.tex index 0020b6c9c3..deea3a450e 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} -- 2.50.1