From 8d31f5413ccbd1857bac21887272f06a84cca619 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Tue, 28 Jul 2009 18:55:32 +0000 Subject: Clarify quote_plus() usage. --- Doc/library/urllib.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Doc/library/urllib.rst b/Doc/library/urllib.rst index 905c324..f6fe045 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) -- cgit v0.12