Clarify quote_plus() usage.

This commit is contained in:
Georg Brandl 2009-07-28 18:55:32 +00:00
parent 8ab590ef06
commit 8d31f5413c
1 changed files with 3 additions and 2 deletions

View 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)