12 lines
218 B
Python
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
|