diff options
author | Georg Brandl <georg@python.org> | 2009-07-29 07:27:08 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-07-29 07:27:08 (GMT) |
commit | 81c09dbf382555dd3f9644e5add6245f8050fc7c (patch) | |
tree | fcccb3aeae8cb0f6d72227cbf30df5fa4df5c652 /Doc/library/urllib.parse.rst | |
parent | bc3478043d3f00d0b5e75d9b3e4b37351d5a0ff0 (diff) | |
download | cpython-81c09dbf382555dd3f9644e5add6245f8050fc7c.zip cpython-81c09dbf382555dd3f9644e5add6245f8050fc7c.tar.gz cpython-81c09dbf382555dd3f9644e5add6245f8050fc7c.tar.bz2 |
Merged revisions 74239 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74239 | georg.brandl | 2009-07-28 18:55:32 +0000 (Di, 28 Jul 2009) | 1 line
Clarify quote_plus() usage.
........
Diffstat (limited to 'Doc/library/urllib.parse.rst')
-rw-r--r-- | Doc/library/urllib.parse.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/urllib.parse.rst b/Doc/library/urllib.parse.rst index 28fa66f..161614b 100644 --- a/Doc/library/urllib.parse.rst +++ b/Doc/library/urllib.parse.rst @@ -249,9 +249,9 @@ The :mod:`urllib.parse` module defines the following functions: .. function:: quote_plus(string[, safe[, encoding[, errors]]]) Like :func:`quote`, but also replace 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 ``'/'``. Example: ``quote_plus('/El NiƱo/')`` yields ``'%2FEl+Ni%C3%B1o%2F'``. |