mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Replace 'Text' with 'str' in py3 stdlib (#5466)
This commit is contained in:
@@ -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): ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user