]> granicus.if.org Git - python/commitdiff
Fix Issue7007 - Use percent-encoded consistently instead of URL Encoded variations...
authorSenthil Kumaran <orsenthil@gmail.com>
Mon, 9 Aug 2010 19:53:52 +0000 (19:53 +0000)
committerSenthil Kumaran <orsenthil@gmail.com>
Mon, 9 Aug 2010 19:53:52 +0000 (19:53 +0000)
Doc/faq/library.rst
Doc/library/logging.rst
Doc/library/urllib.parse.rst
Doc/library/urllib.request.rst

index 282433085f702aa5729098974ac9c7d51f4f7db1..5965b6a76fbc99c5d6d212194b2414a494f3beeb 100644 (file)
@@ -666,7 +666,7 @@ Yes. Here's a simple example that uses urllib.request::
                                 '/cgi-bin/some-cgi-script', data=qs)
    msg, hdrs = req.read(), req.info()
 
-Note that in general for URL-encoded POST operations, query strings must be
+Note that in general for a percent-encoded POST operations, query strings must be
 quoted by using :func:`urllib.parse.urlencode`.  For example to send name="Guy Steele,
 Jr."::
 
index 6941ce7aaaa5d13f7483b38598fe7e6e220bef80..2dd671355b83212cc18970e909cc80755a3a6544 100644 (file)
@@ -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:
index b915f29498f0e85e2a9c4175bce46ffc1f037d1d..8fe7f190a6dcdb629a991d9e0553a26be3649a34 100644 (file)
@@ -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 ``'&'``
index 0ac228d2ad856f6428966b1aafb4a2bb538302dc..07554157f0e217397f90fafbca7bd76d1061b056 100644 (file)
@@ -140,7 +140,7 @@ The :mod:`urllib.request` module defines the following functions:
 
 .. function:: url2pathname(path)
 
-   Convert the path component *path* from aencoded 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*.