diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-06-06 02:32:09 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-06-06 02:32:09 (GMT) |
commit | 3789b9790625b73cb3c92740e47620332e78c3b9 (patch) | |
tree | 9ad9ca12b0ea752af460a2c8565f210e5776f254 /Doc | |
parent | 0209a140610ca9a1b3f337dbb12ab1fa2e7c2085 (diff) | |
download | cpython-3789b9790625b73cb3c92740e47620332e78c3b9.zip cpython-3789b9790625b73cb3c92740e47620332e78c3b9.tar.gz cpython-3789b9790625b73cb3c92740e47620332e78c3b9.tar.bz2 |
Merged revisions 81774-81775 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81774 | benjamin.peterson | 2010-06-05 19:50:58 -0500 (Sat, 05 Jun 2010) | 1 line
remove extra space
........
r81775 | benjamin.peterson | 2010-06-05 19:54:29 -0500 (Sat, 05 Jun 2010) | 1 line
fix sphinx warning with an extra space
........
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/urllib.parse.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/urllib.parse.rst b/Doc/library/urllib.parse.rst index 455925e..3d13efc 100644 --- a/Doc/library/urllib.parse.rst +++ b/Doc/library/urllib.parse.rst @@ -312,7 +312,7 @@ The :mod:`urllib.parse` module defines the following functions: .. function:: urlencode(query, doseq=False) - Convert a mapping object or a sequence of two-element tuples to a + Convert a mapping object or a sequence of two-element tuples to a "url-encoded" string, suitable to pass to :func:`urlopen` above as the optional *data* argument. This is useful to pass a dictionary of form fields to a ``POST`` request. The resulting string is a series of @@ -321,7 +321,7 @@ The :mod:`urllib.parse` module defines the following functions: two-element tuples is used as the *query* argument, the first element of each tuple is a key and the second is a value. The value element in itself can be a sequence and in that case, if the optional parameter *doseq* is - evaluates to *True*, individual ``key=value`` pairs separated by ``'&'``are + evaluates to *True*, individual ``key=value`` pairs separated by ``'&'`` are generated for each element of the value sequence for the key. The order of parameters in the encoded string will match the order of parameter tuples in the sequence. This module provides the functions :func:`parse_qs` and |