wmt-2020-pl-en/googletrans/compat.py
2017-03-10 23:43:06 +09:00

12 lines
218 B
Python

# -*- coding: utf-8 -*-
import sys
try: # pragma: nocover
from urllib.parse import quote
except: # pragma: nocover
from urllib import quote
PY3 = sys.version_info > (3, )
unicode = str if PY3 else unicode