wmt-2020-pl-en/googletrans/compat.py

12 lines
218 B
Python
Raw Normal View History

2017-03-10 11:19:46 +01:00
# -*- coding: utf-8 -*-
import sys
try: # pragma: nocover
from urllib.parse import quote
except: # pragma: nocover
from urllib import quote
2017-03-10 11:19:46 +01:00
PY3 = sys.version_info > (3, )
unicode = str if PY3 else unicode