mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
Use PEP 604 syntax wherever possible (#7493)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from typing import IO, Any, BinaryIO, NoReturn, Text, Union
|
||||
from typing import IO, Any, BinaryIO, NoReturn, Text
|
||||
|
||||
_File = Union[Text, IO[bytes]]
|
||||
_File = Text | IO[bytes]
|
||||
|
||||
class Error(Exception): ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user