From: Fred Drake Date: Fri, 28 Jul 2000 13:51:27 +0000 (+0000) Subject: Finally fixed the much-reported bug about "~" in a couple of example. X-Git-Tag: v2.0b1~692 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=10853c983593166e8ca0d10be5d79c0e53d65cc2;p=python Finally fixed the much-reported bug about "~" in a couple of example. This time, it was reported by Skip. --- diff --git a/Doc/lib/liburllib.tex b/Doc/lib/liburllib.tex index 105643107c..041863dd4b 100644 --- a/Doc/lib/liburllib.tex +++ b/Doc/lib/liburllib.tex @@ -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}