Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 10853c9

Browse files
committed
Finally fixed the much-reported bug about "~" in a couple of example.
This time, it was reported by Skip.
1 parent efdf107 commit 10853c9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/lib/liburllib.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ \section{\module{urllib} ---
128128
The optional \var{safe} parameter specifies additional characters
129129
that should not be quoted --- its default value is \code{'/'}.
130130

131-
Example: \code{quote('/\~connolly/')} yields \code{'/\%7econnolly/'}.
131+
Example: \code{quote('/\~{}connolly/')} yields \code{'/\%7econnolly/'}.
132132
\end{funcdesc}
133133

134134
\begin{funcdesc}{quote_plus}{string\optional{, safe}}
@@ -140,7 +140,7 @@ \section{\module{urllib} ---
140140
\begin{funcdesc}{unquote}{string}
141141
Replace \samp{\%xx} escapes by their single-character equivalent.
142142

143-
Example: \code{unquote('/\%7Econnolly/')} yields \code{'/\~connolly/'}.
143+
Example: \code{unquote('/\%7Econnolly/')} yields \code{'/\~{}connolly/'}.
144144
\end{funcdesc}
145145

146146
\begin{funcdesc}{unquote_plus}{string}

0 commit comments

Comments
 (0)