Commit 2c28a14a authored by Fred Drake's avatar Fred Drake

work around mostly-minor formatting problems; the encodings.idna

example still doesn't come out quite right: a bug in the formatting
tools
parent 850b38e2
...@@ -1784,7 +1784,7 @@ command, passing it to the correct thread, and waiting for the ...@@ -1784,7 +1784,7 @@ command, passing it to the correct thread, and waiting for the
results. Other interfaces can't be handled automatically but results. Other interfaces can't be handled automatically but
\module{Tkinter} will now raise an exception on such an access so that \module{Tkinter} will now raise an exception on such an access so that
at least you can find out about the problem. See at least you can find out about the problem. See
\url{http://mail.python.org/pipermail/python-dev/2002-December/031107.html} \url{http://mail.python.org/pipermail/python-dev/2002-December/031107.html} %
for a more detailed explanation of this change. (Implemented by for a more detailed explanation of this change. (Implemented by
Martin von L\"owis.) Martin von L\"owis.)
...@@ -1829,7 +1829,7 @@ to convert between a Unicode domain name and the ASCII-compatible ...@@ -1829,7 +1829,7 @@ to convert between a Unicode domain name and the ASCII-compatible
encoding (ACE) of that name. encoding (ACE) of that name.
\begin{alltt} \begin{alltt}
>>> u"www.Alliancefran\c{c}aise.nu".encode("idna") >{}>{}> u"www.Alliancefran\c{c}aise.nu".encode("idna")
'www.xn--alliancefranaise-npb.nu' 'www.xn--alliancefranaise-npb.nu'
\end{alltt} \end{alltt}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment