]> granicus.if.org Git - python/commitdiff
Doc fix for the issue2637.
authorSenthil Kumaran <orsenthil@gmail.com>
Mon, 31 Aug 2009 16:40:27 +0000 (16:40 +0000)
committerSenthil Kumaran <orsenthil@gmail.com>
Mon, 31 Aug 2009 16:40:27 +0000 (16:40 +0000)
Doc/library/urllib.rst

index f6fe045e5542ee7db25cae9ac5ba1ae767d26e42..90c0fa5dac9dcfefebac38a49e7cda9ade2afe52 100644 (file)
@@ -203,9 +203,10 @@ Utility functions
 .. 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/'``.