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:
Zachary Turner
2016-01-11 23:10:32 +00:00
parent 9eaa4893ef
commit 00cdc77ac9

View File

@@ -74,11 +74,7 @@ enum class PyObjectType
Dictionary,
List,
String,
#if PY_MAJOR_VERSION >= 3
Bytes,
#else
Bytes = String,
#endif
Module,
Callable,
Tuple,