From: Georg Brandl Date: Tue, 28 Jul 2009 18:55:32 +0000 (+0000) Subject: Clarify quote_plus() usage. X-Git-Tag: v2.7a1~700 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d31f5413ccbd1857bac21887272f06a84cca619;p=thirdparty%2FPython%2Fcpython.git Clarify quote_plus() usage. --- diff --git a/Doc/library/urllib.rst b/Doc/library/urllib.rst index 905c3245e094..f6fe045e5542 100644 --- a/Doc/library/urllib.rst +++ b/Doc/library/urllib.rst @@ -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)