From: Senthil Kumaran Date: Mon, 31 Aug 2009 16:40:27 +0000 (+0000) Subject: Doc fix for the issue2637. X-Git-Tag: v2.7a1~604 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90161375c6c9274bca193a277882ebff27f4140c;p=thirdparty%2FPython%2Fcpython.git Doc fix for the issue2637. --- diff --git a/Doc/library/urllib.rst b/Doc/library/urllib.rst index f6fe045e5542..90c0fa5dac9d 100644 --- a/Doc/library/urllib.rst +++ b/Doc/library/urllib.rst @@ -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/'``.