summaryrefslogtreecommitdiff
path: root/Doc/library/urllib.parse.rst
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-08-09 19:53:52 +0000
committerSenthil Kumaran <orsenthil@gmail.com>2010-08-09 19:53:52 +0000
commite5eb1502c8c2e95d18eff3e55801642c4055a571 (patch)
tree1d6dd0a54ede48df9d7e739d340c2a1a727468ef /Doc/library/urllib.parse.rst
parentde587c0c950182df4f20dc85ca0d7ba8da274e08 (diff)
downloadcpython-e5eb1502c8c2e95d18eff3e55801642c4055a571.tar.gz
Fix Issue7007 - Use percent-encoded consistently instead of URL Encoded variations. Docs changed.
Diffstat (limited to 'Doc/library/urllib.parse.rst')
-rw-r--r--Doc/library/urllib.parse.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/urllib.parse.rst b/Doc/library/urllib.parse.rst
index b915f29498..8fe7f190a6 100644
--- a/Doc/library/urllib.parse.rst
+++ b/Doc/library/urllib.parse.rst
@@ -117,7 +117,7 @@ The :mod:`urllib.parse` module defines the following functions:
values are lists of values for each name.
The optional argument *keep_blank_values* is a flag indicating whether blank
- values in URL encoded queries should be treated as blank strings. A true value
+ values in percent-encoded queries should be treated as blank strings. A true value
indicates that blanks should be retained as blank strings. The default false
value indicates that blank values are to be ignored and treated as if they were
not included.
@@ -137,7 +137,7 @@ The :mod:`urllib.parse` module defines the following functions:
name, value pairs.
The optional argument *keep_blank_values* is a flag indicating whether blank
- values in URL encoded queries should be treated as blank strings. A true value
+ values in percent-encoded queries should be treated as blank strings. A true value
indicates that blanks should be retained as blank strings. The default false
value indicates that blank values are to be ignored and treated as if they were
not included.
@@ -330,7 +330,7 @@ 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 tuples, which may
- either be a :class:`str` or a :class:`bytes`, to a "url-encoded" string,
+ either be a :class:`str` or a :class:`bytes`, to a "percent-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 ``'&'``