diff options
Diffstat (limited to 'venv/lib/python3.7/site-packages/pip-10.0.1-py3.7.egg/pip/_vendor/idna/compat.py')
-rw-r--r-- | venv/lib/python3.7/site-packages/pip-10.0.1-py3.7.egg/pip/_vendor/idna/compat.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/venv/lib/python3.7/site-packages/pip-10.0.1-py3.7.egg/pip/_vendor/idna/compat.py b/venv/lib/python3.7/site-packages/pip-10.0.1-py3.7.egg/pip/_vendor/idna/compat.py new file mode 100644 index 0000000..f4d3f6d --- /dev/null +++ b/venv/lib/python3.7/site-packages/pip-10.0.1-py3.7.egg/pip/_vendor/idna/compat.py | |||
@@ -0,0 +1,12 @@ | |||
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 | |||