]> granicus.if.org Git - python/commitdiff
Finally fixed the much-reported bug about "~" in a couple of example.
authorFred Drake <fdrake@acm.org>
Fri, 28 Jul 2000 13:51:27 +0000 (13:51 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 28 Jul 2000 13:51:27 +0000 (13:51 +0000)
This time, it was reported by Skip.

Doc/lib/liburllib.tex

index 105643107ce1bcc7cdbd53766b08f5c305045536..041863dd4bc8d82f9763cfc89f13a40d767bd29a 100644 (file)
@@ -128,7 +128,7 @@ Letters, digits, and the characters \character{_,.-} are never quoted.
 The optional \var{safe} parameter specifies additional characters
 that should not be quoted --- its default value is \code{'/'}.
 
-Example: \code{quote('/\~connolly/')} yields \code{'/\%7econnolly/'}.
+Example: \code{quote('/\~{}connolly/')} yields \code{'/\%7econnolly/'}.
 \end{funcdesc}
 
 \begin{funcdesc}{quote_plus}{string\optional{, safe}}
@@ -140,7 +140,7 @@ string are escaped unless they are included in \var{safe}.
 \begin{funcdesc}{unquote}{string}
 Replace \samp{\%xx} escapes by their single-character equivalent.
 
-Example: \code{unquote('/\%7Econnolly/')} yields \code{'/\~connolly/'}.
+Example: \code{unquote('/\%7Econnolly/')} yields \code{'/\~{}connolly/'}.
 \end{funcdesc}
 
 \begin{funcdesc}{unquote_plus}{string}