Update compat.py
This commit is contained in:

committed by
GitHub

parent
1e23d21dcb
commit
1f1e11e7d2
@@ -1,7 +1,7 @@
|
||||
import sys
|
||||
|
||||
PY2 = sys.version_info[0] == 2
|
||||
PY3 = sys.version_info[0] == 3
|
||||
PY3 = not PY2
|
||||
|
||||
if PY2:
|
||||
string_types = basestring,
|
||||
|
Reference in New Issue
Block a user