From: Senthil Kumaran Date: Sat, 3 Jul 2010 18:04:31 +0000 (+0000) Subject: Minor change in the wording. X-Git-Tag: v3.1.3rc1~558 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8d386873c2b3c6fa6c630f1aa4de7cc7ae048fe4;p=thirdparty%2FPython%2Fcpython.git Minor change in the wording. --- diff --git a/Doc/library/urllib.parse.rst b/Doc/library/urllib.parse.rst index cfd995d4362a..c9ca9ab67b7b 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 ``'&'``