comparison planemo/lib/python3.7/site-packages/idna/compat.py @ 1:56ad4e20f292 draft

"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
author guerler
date Fri, 31 Jul 2020 00:32:28 -0400
parents
children
comparison
equal deleted inserted replaced
0:d30785e31577 1:56ad4e20f292
1 from .core import *
2 from .codec import *
3
4 def ToASCII(label):
5 return encode(label)
6
7 def ToUnicode(label):
8 return decode(label)
9
10 def nameprep(s):
11 raise NotImplementedError("IDNA 2008 does not utilise nameprep protocol")
12