mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 14:01:55 +08:00
Update type of six.string_types to Union[str, unicode] (#882)
This commit is contained in:
committed by
Guido van Rossum
parent
f398628948
commit
0d1015f00b
2
third_party/2/six/__init__.pyi
vendored
2
third_party/2/six/__init__.pyi
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user