mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-09 14:55:50 +08:00
Simplify and correct many numeric unions (#7906)
Unblocks PyCQA/flake8-pyi#222
This commit is contained in:
1 parent
7576805aee
commit
76a4bd796b
17 files changed
+30
-26
No files matched your search
@@ -69,7 +69,7 @@ paMacCoreStreamInfo: PaMacCoreStreamInfo
|
||||
# Auxiliary types
|
||||
_ChannelMap: TypeAlias = Sequence[int]
|
||||
_PaHostApiInfo: TypeAlias = Mapping[str, str | int]
|
||||
_PaDeviceInfo: TypeAlias = Mapping[str, str | int | float]
|
||||
_PaDeviceInfo: TypeAlias = Mapping[str, str | float]
|
||||
_StreamCallback: TypeAlias = Callable[[bytes | None, int, Mapping[str, float], int], tuple[bytes | None, int]]
|
||||
|
||||
def get_format_from_width(width: int, unsigned: bool = ...) -> int: ...
|
||||
|
||||
Reference in new issue
Block a user