[Python-checkins] r74239 - python/trunk/Doc/library/urllib.rst

georg.brandl python-checkins at python.org
Tue Jul 28 20:55:33 CEST 2009


Author: georg.brandl
Date: Tue Jul 28 20:55:32 2009
New Revision: 74239

Log:
Clarify quote_plus() usage.

Modified:
   python/trunk/Doc/library/urllib.rst

Modified: python/trunk/Doc/library/urllib.rst
==============================================================================
--- python/trunk/Doc/library/urllib.rst	(original)
+++ python/trunk/Doc/library/urllib.rst	Tue Jul 28 20:55:32 2009
@@ -213,8 +213,9 @@
 .. 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)


More information about the Python-checkins mailing list