diff options
author | Fred Drake <fdrake@acm.org> | 1998-10-01 20:43:13 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1998-10-01 20:43:13 (GMT) |
commit | 09b295754fab731e95ef5b2f1976d1d991ebf06a (patch) | |
tree | 82b8b57ee92566d0b9dba0b40ff070ee6728e31b /Doc/lib/liburllib.tex | |
parent | 49b560698b0bba848c4f8325803a26a4477fb12d (diff) | |
download | cpython-09b295754fab731e95ef5b2f1976d1d991ebf06a.zip cpython-09b295754fab731e95ef5b2f1976d1d991ebf06a.tar.gz cpython-09b295754fab731e95ef5b2f1976d1d991ebf06a.tar.bz2 |
Remove extra } at end of method description parameters.
Diffstat (limited to 'Doc/lib/liburllib.tex')
-rw-r--r-- | Doc/lib/liburllib.tex | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Doc/lib/liburllib.tex b/Doc/lib/liburllib.tex index 01eb7a0..c47afe8 100644 --- a/Doc/lib/liburllib.tex +++ b/Doc/lib/liburllib.tex @@ -57,7 +57,7 @@ see the \function{urlencode()} function below. \end{funcdesc} -\begin{funcdesc}{urlretrieve}{url\optional{, filename}\optional{, hook}}} +\begin{funcdesc}{urlretrieve}{url\optional{, filename}\optional{, hook}} Copy a network object denoted by a URL to a local file, if necessary. If the URL points to a local file, or a valid cached copy of the object exists, the object is not copied. Return a tuple @@ -74,8 +74,8 @@ The third argument, if present, is a hook function that will be called once on establishment of the network connection and once after each block read thereafter. The hook will be passed three arguments; a count of blocks transferred so far, a block size in bytes, and the -total size of the file. The third argument may be -1 on older FTP -servers which do not return a file size in response to a retrieval +total size of the file. The third argument may be \code{-1} on older +FTP servers which do not return a file size in response to a retrieval request. \end{funcdesc} @@ -114,9 +114,10 @@ required for unquoting HTML form values. Convert a dictionary to a ``url-encoded'' string, suitable to pass to \function{urlopen()} above as the optional \var{data} argument. This is useful to pass a dictionary of form fields to a \code{POST} -request. The resulting string is a series of \var{key}\code{=}\var{value} -pairs separated by \code{\&} characters, where both \var{key} and -\var{value} are quoted using \function{quote_plus()} above. +request. The resulting string is a series of +\code{\var{key}=\var{value}} pairs separated by \character{\&} +characters, where both \var{key} and \var{value} are quoted using +\function{quote_plus()} above. \end{funcdesc} Restrictions: |