Files
mysqlclient/MySQLdb/compat.py
INADA Naoki e7545c7c40 refactoring.
2014-04-18 23:25:01 +09:00

13 lines
186 B
Python

import sys
if sys.version_info[0] == 3:
PY2 = False
unicode = str
unichr = chr
long = int
else:
PY2 = True
unicode = unicode
unichr = unichr
long = long