mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Replace 'Text' with 'str' in py3 stdlib (#5466)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import sys
|
||||
from typing import IO, Any, BinaryIO, NamedTuple, NoReturn, Optional, Text, Union
|
||||
from typing import IO, Any, BinaryIO, NamedTuple, NoReturn, Optional, Union
|
||||
|
||||
_File = Union[Text, IO[bytes]]
|
||||
_File = Union[str, IO[bytes]]
|
||||
|
||||
class Error(Exception): ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user