[Python-checkins] r74608 - python/trunk/Doc/library/urllib.rst
senthil.kumaran
python-checkins at python.org
Mon Aug 31 18:40:27 CEST 2009
Author: senthil.kumaran
Date: Mon Aug 31 18:40:27 2009
New Revision: 74608
Log:
Doc fix for the issue2637.
Modified:
python/trunk/Doc/library/urllib.rst
Modified: python/trunk/Doc/library/urllib.rst
==============================================================================
--- python/trunk/Doc/library/urllib.rst (original)
+++ python/trunk/Doc/library/urllib.rst Mon Aug 31 18:40:27 2009
@@ -203,9 +203,10 @@
.. function:: quote(string[, safe])
Replace special characters in *string* using the ``%xx`` escape. Letters,
- digits, and the characters ``'_.-'`` are never quoted. The optional *safe*
- parameter specifies additional characters that should not be quoted --- its
- default value is ``'/'``.
+ digits, and the characters ``'_.-'`` are never quoted. By default, this
+ function is intended for quoting the path section of the URL.The optional
+ *safe* parameter specifies additional characters that should not be quoted
+ --- its default value is ``'/'``.
Example: ``quote('/~connolly/')`` yields ``'/%7econnolly/'``.
More information about the Python-checkins
mailing list