Let us walk on the 3-isogeny graph
Loading...
Searching...
No Matches
pip._vendor.idna.compat Namespace Reference

Functions

bytes ToASCII (str label)
 
str ToUnicode (Union[bytes, bytearray] label)
 
None nameprep (Any s)
 

Function Documentation

◆ nameprep()

None nameprep ( Any  s)

Definition at line 11 of file compat.py.

11def nameprep(s: Any) -> None:
12 raise NotImplementedError('IDNA 2008 does not utilise nameprep protocol')
13
for i

References i.

◆ ToASCII()

bytes ToASCII ( str  label)

Definition at line 5 of file compat.py.

5def ToASCII(label: str) -> bytes:
6 return encode(label)
7

◆ ToUnicode()

str ToUnicode ( Union[bytes, bytearray label)

Definition at line 8 of file compat.py.

8def ToUnicode(label: Union[bytes, bytearray]) -> str:
9 return decode(label)
10