mirror of https://github.com/python/cpython
Clarify quote_plus() usage.
This commit is contained in:
parent
8ab590ef06
commit
8d31f5413c
|
@ -213,8 +213,9 @@ Utility functions
|
||||||
.. function:: quote_plus(string[, safe])
|
.. function:: quote_plus(string[, safe])
|
||||||
|
|
||||||
Like :func:`quote`, but also replaces spaces by plus signs, as required for
|
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
|
quoting HTML form values when building up a query string to go into a URL.
|
||||||
they are included in *safe*. It also does not have *safe* default to ``'/'``.
|
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)
|
.. function:: unquote(string)
|
||||||
|
|
Loading…
Reference in New Issue