Replace 'Text' with 'str' in py3 stdlib (#5466)

This commit is contained in:
Sebastian Rittau authored and GitHub committed 2021-05-16 07:10:48 -07:00
1 parent dbe77b6ae9
commit 6a9c89e928
49 files changed
+328 -349

No files matched your search

+2 -2
View File
@@ -1,7 +1,7 @@
import sys
from typing import BinaryIO, Optional, Text, Union
from typing import BinaryIO, Optional, Union
_File = Union[Text, BinaryIO]
_File = Union[str, BinaryIO]
class Error(Exception): ...