Don't define Bytes and String to be the same number on Py2.
This is causing issues with case labels having the same value. llvm-svn: 257409
This commit is contained in:
@@ -74,11 +74,7 @@ enum class PyObjectType
|
||||
Dictionary,
|
||||
List,
|
||||
String,
|
||||
#if PY_MAJOR_VERSION >= 3
|
||||
Bytes,
|
||||
#else
|
||||
Bytes = String,
|
||||
#endif
|
||||
Module,
|
||||
Callable,
|
||||
Tuple,
|
||||
|
||||
Reference in New Issue
Block a user