PY3 should really check for Python >= 3
This commit is contained in:
parent
f21ddeeded
commit
295e1240ad
@ -25,7 +25,7 @@ except ImportError:
|
||||
import builtins # NOQA
|
||||
import sys
|
||||
|
||||
PY3 = sys.version_info[0] == 3
|
||||
PY3 = sys.version_info[0] >= 3
|
||||
|
||||
if PY3:
|
||||
str_type = str
|
||||
|
Loading…
Reference in New Issue
Block a user