<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):
    # type: (str) -&gt; bytes
    return encode(label)

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

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

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