summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2000-07-28 13:51:27 (GMT)
committerFred Drake <fdrake@acm.org>2000-07-28 13:51:27 (GMT)
commit10853c983593166e8ca0d10be5d79c0e53d65cc2 (patch)
tree6b82d1e27dd4b6b8ec05ce8f3c163a6a3161cf34 /Doc
parentefdf107fb78af08416c3fb8061ed073ae6d9530d (diff)
downloadcpython-10853c983593166e8ca0d10be5d79c0e53d65cc2.zip
cpython-10853c983593166e8ca0d10be5d79c0e53d65cc2.tar.gz
cpython-10853c983593166e8ca0d10be5d79c0e53d65cc2.tar.bz2
Finally fixed the much-reported bug about "~" in a couple of example.
This time, it was reported by Skip.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/liburllib.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/liburllib.tex b/Doc/lib/liburllib.tex
index 1056431..041863d 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}