refactoring.

This commit is contained in:
INADA Naoki
2014-04-18 23:25:01 +09:00
parent af18cc9c08
commit e7545c7c40
3 changed files with 25 additions and 30 deletions

View File

@ -1,8 +1,12 @@
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