mirror of https://github.com/python/cpython
Fix spelling of cedillas.
This commit is contained in:
parent
07d4fb6f17
commit
faf71ea5b3
|
@ -890,7 +890,7 @@ Internationalized Domain Names (IDN)). It builds upon the
|
|||
|
||||
These RFCs together define a protocol to support non-ASCII characters
|
||||
in domain names. A domain name containing non-ASCII characters (such
|
||||
as ``www.Alliancefran\,caise.nu'') is converted into an
|
||||
as ``www.Alliancefran\c{c}aise.nu'') is converted into an
|
||||
ASCII-compatible encoding (ACE, such as
|
||||
``www.xn--alliancefranaise-npb.nu''). The ACE form of the domain name
|
||||
is then used in all places where arbitrary characters are not allowed
|
||||
|
|
|
@ -1796,10 +1796,10 @@ Any breakage caused by this change should be reported as a bug.
|
|||
to convert between a Unicode domain name and the ASCII-compatible
|
||||
encoding (ACE).
|
||||
|
||||
\begin{verbatim}
|
||||
>>> u"www.Alliancefran\,caise.nu".encode("idna")
|
||||
\begin{alltt}
|
||||
>>> u"www.Alliancefran\c{c}aise.nu".encode("idna")
|
||||
'www.xn--alliancefranaise-npb.nu'
|
||||
\end{verbatim}
|
||||
\end{alltt}
|
||||
|
||||
In addition, the \module{socket} has been extended to transparently
|
||||
convert Unicode hostnames to the ACE before passing them to the C
|
||||
|
|
Loading…
Reference in New Issue