[Python-checkins] r82512 - python/branches/release31-maint/Doc/library/urllib.parse.rst
senthil.kumaran
python-checkins at python.org
Sat Jul 3 20:04:31 CEST 2010
Author: senthil.kumaran
Date: Sat Jul 3 20:04:31 2010
New Revision: 82512
Log:
Minor change in the wording.
Modified:
python/branches/release31-maint/Doc/library/urllib.parse.rst
Modified: python/branches/release31-maint/Doc/library/urllib.parse.rst
==============================================================================
--- python/branches/release31-maint/Doc/library/urllib.parse.rst (original)
+++ python/branches/release31-maint/Doc/library/urllib.parse.rst Sat Jul 3 20:04:31 2010
@@ -309,8 +309,8 @@
.. 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 ``'&'``
More information about the Python-checkins
mailing list