Skip to content

Commit e48e393

Browse files
committed
Update compat
1 parent 819688b commit e48e393

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

MySQLdb/compat.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import sys
22

3-
if sys.version_info[0] == 3:
4-
PY2 = False
5-
unicode = str
6-
unichr = chr
7-
long = int
8-
else:
3+
if sys.version_info[0] == 2:
94
PY2 = True
105
unicode = unicode
116
unichr = unichr
127
long = long
8+
else:
9+
PY2 = False
10+
unicode = str
11+
unichr = chr
12+
long = int

0 commit comments

Comments
 (0)