[Python-checkins] r74247 - in python/branches/py3k: Doc/library/urllib.parse.rst
georg.brandl
python-checkins at python.org
Wed Jul 29 09:27:13 CEST 2009
Author: georg.brandl
Date: Wed Jul 29 09:27:08 2009
New Revision: 74247
Log:
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.
........
Modified:
python/branches/py3k/ (props changed)
python/branches/py3k/Doc/library/urllib.parse.rst
Modified: python/branches/py3k/Doc/library/urllib.parse.rst
==============================================================================
--- python/branches/py3k/Doc/library/urllib.parse.rst (original)
+++ python/branches/py3k/Doc/library/urllib.parse.rst Wed Jul 29 09:27:08 2009
@@ -249,9 +249,9 @@
.. 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'``.
More information about the Python-checkins
mailing list