Update type of six.string_types to Union[str, unicode] (#882)

This commit is contained in:
Lucas Wiman
2017-01-30 07:41:19 -08:00
committed by Guido van Rossum
parent f398628948
commit 0d1015f00b

View File

@@ -27,7 +27,7 @@ PY2 = True
PY3 = False
PY34 = False
string_types = basestring,
string_types = (str, unicode)
integer_types = (int, long)
class_types = (type, types.ClassType)
text_type = unicode