You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per discussion in python/typing#208 and srittau/peps#19, we should change most occurences of unicode in Python 2 and 2and3 stubs to Text. Type checkers are free to treat unicode as Union[str, unicode] or as just unicode and particularly pytype does the latter. A quick grep showed 425 lines containing the word unicode in those stubs, although there are many false positives.
The text was updated successfully, but these errors were encountered:
Per discussion in python/typing#208 and srittau/peps#19, we should change most occurences of
unicode
in Python 2 and 2and3 stubs toText
. Type checkers are free to treatunicode
asUnion[str, unicode]
or as justunicode
and particularly pytype does the latter. A quick grep showed 425 lines containing the wordunicode
in those stubs, although there are many false positives.The text was updated successfully, but these errors were encountered: