From 8d386873c2b3c6fa6c630f1aa4de7cc7ae048fe4 Mon Sep 17 00:00:00 2001 From: Senthil Kumaran Date: Sat, 3 Jul 2010 18:04:31 +0000 Subject: Minor change in the wording. --- Doc/library/urllib.parse.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/urllib.parse.rst b/Doc/library/urllib.parse.rst index cfd995d..c9ca9ab 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 ``'&'`` -- cgit v0.12