]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Clarify quote_plus() usage.
authorGeorg Brandl <georg@python.org>
Tue, 28 Jul 2009 18:55:32 +0000 (18:55 +0000)
committerGeorg Brandl <georg@python.org>
Tue, 28 Jul 2009 18:55:32 +0000 (18:55 +0000)
Doc/library/urllib.rst

index 905c3245e09434b6c80381aa9268de6edd0f7dbd..f6fe045e5542ee7db25cae9ac5ba1ae767d26e42 100644 (file)
@@ -213,8 +213,9 @@ Utility functions
 .. function:: quote_plus(string[, safe])
 
    Like :func:`quote`, but also replaces 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 ``'/'``.
 
 
 .. function:: unquote(string)