summaryrefslogtreecommitdiff
path: root/Doc/library/urllib.parse.rst
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-07-03 18:04:31 +0000
committerSenthil Kumaran <orsenthil@gmail.com>2010-07-03 18:04:31 +0000
commit8d386873c2b3c6fa6c630f1aa4de7cc7ae048fe4 (patch)
tree3a15aebd139c0fefa2de9702a998ef61b0e57839 /Doc/library/urllib.parse.rst
parentfe1ad15b4bcc923bfba384cad4c647ece8944b83 (diff)
downloadcpython-git-8d386873c2b3c6fa6c630f1aa4de7cc7ae048fe4.tar.gz
Minor change in the wording.
Diffstat (limited to 'Doc/library/urllib.parse.rst')
-rw-r--r--Doc/library/urllib.parse.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/urllib.parse.rst b/Doc/library/urllib.parse.rst
index cfd995d436..c9ca9ab67b 100644
--- a/Doc/library/urllib.parse.rst
+++ b/Doc/library/urllib.parse.rst
@@ -309,8 +309,8 @@ The :mod:`urllib.parse` module defines the following functions:
.. function:: urlencode(query, doseq=False, safe='', encoding=None, errors=None)
- Convert a mapping object or a sequence of two-element, which may either be a
- :class:`str` or a :class:`bytes` tuples, to a "url-encoded" string,
+ Convert a mapping object or a sequence of two-element tuples, which may
+ either be a :class:`str` or a :class:`bytes`, 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 ``key=value`` pairs separated by ``'&'``