<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">from .core import *
from .codec import *
from typing import Any, Union

def ToASCII(label: str) -&gt; bytes:
    return encode(label)

def ToUnicode(label: Union[bytes, bytearray]) -&gt; str:
    return decode(label)

def nameprep(s: Any) -&gt; None:
    raise NotImplementedError('IDNA 2008 does not utilise nameprep protocol')

</pre></body></html>