]> granicus.if.org Git - python/commitdiff
Minor rewording
authorAndrew M. Kuchling <amk@amk.ca>
Sat, 3 Jun 2006 18:43:24 +0000 (18:43 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Sat, 3 Jun 2006 18:43:24 +0000 (18:43 +0000)
Doc/lib/liburllib2.tex

index be36e3d3079fa1cc3015299c9bc3b4825790160d..f4351c33b9ffdcaf0508da0e74e28c1d53a558fc 100644 (file)
@@ -18,13 +18,13 @@ The \module{urllib2} module defines the following functions:
 Open the URL \var{url}, which can be either a string or a \class{Request}
 object.
 
-\var{data} should be a string, which specifies additional data to send
-to the server. Currently HTTP requests are the only ones that use
-\var{data}.  For HTTP, the request will be a POST instead of a GET
-when the \var{data} parameter is provided.  \var{data} should be a
-buffer in the standard \mimetype{application/x-www-form-urlencoded} format.
-The \function{urllib.urlencode()} function takes a mapping or 
-sequence of 2-tuples and returns a string in this format.
+\var{data} may be a string specifying additional data to send to the
+server. Currently HTTP requests are the only ones that use \var{data};
+the HTTP request will be a POST instead of a GET when the \var{data}
+parameter is provided.  \var{data} should be a buffer in the standard
+\mimetype{application/x-www-form-urlencoded} format.  The
+\function{urllib.urlencode()} function takes a mapping or sequence of
+2-tuples and returns a string in this format.
 
 This function returns a file-like object with two additional methods: