diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2006-06-03 18:43:24 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2006-06-03 18:43:24 (GMT) |
commit | 4094b3d08ce2b47e1c488bc0063ac5868344feda (patch) | |
tree | 01342b68e075febba933e0af462960c67b30ce64 /Doc | |
parent | 27ca711d205995977a72e112f993eadcaaa06472 (diff) | |
download | cpython-4094b3d08ce2b47e1c488bc0063ac5868344feda.zip cpython-4094b3d08ce2b47e1c488bc0063ac5868344feda.tar.gz cpython-4094b3d08ce2b47e1c488bc0063ac5868344feda.tar.bz2 |
Minor rewording
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/liburllib2.tex | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Doc/lib/liburllib2.tex b/Doc/lib/liburllib2.tex index be36e3d..f4351c3 100644 --- a/Doc/lib/liburllib2.tex +++ b/Doc/lib/liburllib2.tex @@ -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: |