mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-09 03:01:25 +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:
@@ -22,7 +22,7 @@ _Box = tuple[int, int, int, int]
|
||||
_ConversionMatrix = Union[
|
||||
tuple[float, float, float, float], tuple[float, float, float, float, float, float, float, float, float, float, float, float],
|
||||
]
|
||||
_Color = Union[float, tuple[float, ...]]
|
||||
_Color = float | tuple[float, ...]
|
||||
|
||||
class _Writeable(SupportsWrite[bytes], Protocol):
|
||||
def seek(self, __offset: int) -> Any: ...
|
||||
|
||||
Reference in New Issue
Block a user