mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
A new shade of Black (#11362)
This commit is contained in:
@@ -126,6 +126,7 @@ else:
|
||||
SIG_BLOCK: int
|
||||
SIG_UNBLOCK: int
|
||||
SIG_SETMASK: int
|
||||
|
||||
SIG_BLOCK = Sigmasks.SIG_BLOCK
|
||||
SIG_UNBLOCK = Sigmasks.SIG_UNBLOCK
|
||||
SIG_SETMASK = Sigmasks.SIG_SETMASK
|
||||
@@ -153,10 +154,12 @@ else:
|
||||
SIGRTMIN: Signals
|
||||
if sys.version_info >= (3, 11):
|
||||
SIGSTKFLT: Signals
|
||||
|
||||
@final
|
||||
class struct_siginfo(structseq[int], tuple[int, int, int, int, int, int, int]):
|
||||
if sys.version_info >= (3, 10):
|
||||
__match_args__: Final = ("si_signo", "si_code", "si_errno", "si_pid", "si_uid", "si_status", "si_band")
|
||||
|
||||
@property
|
||||
def si_signo(self) -> int: ...
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user