Initial commit

This commit is contained in:
Lyx committed 2025-03-14 16:23:01 +01:00
commit 3394196287
2164 files changed
+358958

No files matched your search

@@ -0,0 +1,15 @@
from typing import Any, Union
from .core import decode, encode
def ToASCII(label: str) -> bytes:
return encode(label)
def ToUnicode(label: Union[bytes, bytearray]) -> str:
return decode(label)
def nameprep(s: Any) -> None:
raise NotImplementedError("IDNA 2008 does not utilise nameprep protocol")