Kaydet (Commit) 8d386873 authored tarafından Senthil Kumaran's avatar Senthil Kumaran

Minor change in the wording.

üst fe1ad15b
...@@ -309,8 +309,8 @@ The :mod:`urllib.parse` module defines the following functions: ...@@ -309,8 +309,8 @@ The :mod:`urllib.parse` module defines the following functions:
.. function:: urlencode(query, doseq=False, safe='', encoding=None, errors=None) .. 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 Convert a mapping object or a sequence of two-element tuples, which may
:class:`str` or a :class:`bytes` tuples, to a "url-encoded" string, 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. 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. 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 ``'&'`` The resulting string is a series of ``key=value`` pairs separated by ``'&'``
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment