mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Use PEP 604 syntax wherever possible, part II (#7514)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from typing import Text, Union
|
||||
from typing import Text
|
||||
|
||||
_SndHeaders = tuple[str, int, int, int, Union[int, str]]
|
||||
_SndHeaders = tuple[str, int, int, int, int | str]
|
||||
|
||||
def what(filename: Text) -> _SndHeaders | None: ...
|
||||
def whathdr(filename: Text) -> _SndHeaders | None: ...
|
||||
|
||||
Reference in New Issue
Block a user