PYTHON-673 - Add a few things back to py3compat temporarily

This commit is contained in:
Bernie Hackett 2014-04-22 13:14:42 -07:00
parent 99e792b6be
commit 0e9f6692f1

View File

@ -49,6 +49,7 @@ if PY3:
text_type = str
string_type = str
integer_types = int
next_item = "__next__"
else:
try:
@ -81,3 +82,6 @@ else:
string_type = basestring
text_type = unicode
integer_types = (int, long)
next_item = "next"
string_types = (binary_type, text_type)