diff options
author | Senthil Kumaran <orsenthil@gmail.com> | 2010-08-09 19:53:52 +0000 |
---|---|---|
committer | Senthil Kumaran <orsenthil@gmail.com> | 2010-08-09 19:53:52 +0000 |
commit | f0769e8bd0cc4bad1641e5558787a6006d7b63b2 (patch) | |
tree | cc8be666ca128ffe6f510c2fa4a1c92e8eb7cb3d /Doc/library | |
parent | 87082ee14dd970526e65459804365a5699c7dd9a (diff) | |
download | cpython-git-f0769e8bd0cc4bad1641e5558787a6006d7b63b2.tar.gz |
Fix Issue7007 - Use percent-encoded consistently instead of URL Encoded variations. Docs changed.
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/logging.rst | 2 | ||||
-rw-r--r-- | Doc/library/urllib.parse.rst | 6 | ||||
-rw-r--r-- | Doc/library/urllib.request.rst | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst index 6941ce7aaa..2dd671355b 100644 --- a/Doc/library/logging.rst +++ b/Doc/library/logging.rst @@ -2373,7 +2373,7 @@ supports sending logging messages to a Web server, using either ``GET`` or .. method:: emit(record) - Sends the record to the Web server as an URL-encoded dictionary. + Sends the record to the Web server as a percent-encoded dictionary. .. _formatter-objects: 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 ``'&'`` diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst index 0ac228d2ad..07554157f0 100644 --- a/Doc/library/urllib.request.rst +++ b/Doc/library/urllib.request.rst @@ -140,7 +140,7 @@ The :mod:`urllib.request` module defines the following functions: .. function:: url2pathname(path) - Convert the path component *path* from an encoded URL to the local syntax for a + Convert the path component *path* from a percent-encoded URL to the local syntax for a path. This does not accept a complete URL. This function uses :func:`unquote` to decode *path*. |