mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-08 05:04:44 +08:00
Fix sigtimedwait and sigwaitinfo signature (#10803)
This commit is contained in:
1 parent
1ac5b7b1ac
commit
7cf1fed75d
4 files changed
+6
-8
No files matched your search
+6
-2
@@ -170,8 +170,12 @@ else:
|
||||
@property
|
||||
def si_band(self) -> int: ...
|
||||
|
||||
def sigtimedwait(sigset: Iterable[int], timeout: float) -> struct_siginfo | None: ...
|
||||
def sigwaitinfo(sigset: Iterable[int]) -> struct_siginfo: ...
|
||||
if sys.version_info >= (3, 10):
|
||||
def sigtimedwait(__sigset: Iterable[int], __timeout: float) -> struct_siginfo | None: ...
|
||||
def sigwaitinfo(__sigset: Iterable[int]) -> struct_siginfo: ...
|
||||
else:
|
||||
def sigtimedwait(sigset: Iterable[int], timeout: float) -> struct_siginfo | None: ...
|
||||
def sigwaitinfo(sigset: Iterable[int]) -> struct_siginfo: ...
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
def strsignal(__signalnum: _SIGNUM) -> str | None: ...
|
||||
|
||||
Reference in new issue
Block a user