]> granicus.if.org Git - python/commitdiff
Merged revisions 74239 via svnmerge from
authorGeorg Brandl <georg@python.org>
Wed, 29 Jul 2009 07:27:08 +0000 (07:27 +0000)
committerGeorg Brandl <georg@python.org>
Wed, 29 Jul 2009 07:27:08 +0000 (07:27 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74239 | georg.brandl | 2009-07-28 18:55:32 +0000 (Di, 28 Jul 2009) | 1 line

  Clarify quote_plus() usage.
........

Doc/library/urllib.parse.rst

index 28fa66fdd8190e2c352f6980eef4cd6e2f8c5474..161614b0ca802a7a0e572d4f43dd5760de2e71c1 100644 (file)
@@ -249,9 +249,9 @@ The :mod:`urllib.parse` module defines the following functions:
 .. function:: quote_plus(string[, safe[, encoding[, errors]]])
 
    Like :func:`quote`, but also replace spaces by plus signs, as required for
-   quoting HTML form values.  Plus signs in the original string are escaped
-   unless they are included in *safe*.  It also does not have *safe* default to
-   ``'/'``.
+   quoting HTML form values when building up a query string to go into a URL.
+   Plus signs in the original string are escaped unless they are included in
+   *safe*.  It also does not have *safe* default to ``'/'``.
 
    Example: ``quote_plus('/El NiƱo/')`` yields ``'%2FEl+Ni%C3%B1o%2F'``.