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,7 +1,7 @@
|
||||
import sys
|
||||
from typing import IO, Union
|
||||
from typing import IO
|
||||
|
||||
_FD = Union[int, IO[str]]
|
||||
_FD = int | IO[str]
|
||||
|
||||
if sys.platform != "win32":
|
||||
# XXX: Undocumented integer constants
|
||||
|
||||
Reference in New Issue
Block a user