Changes waitid to return waitid_result | None (#10589)

Fixes #10564
This commit is contained in:
gotyaoi
2023-08-16 00:27:20 -07:00
committed by GitHub
parent 8ca41166c0
commit 1afae4e7f0

View File

@@ -912,7 +912,7 @@ else:
@property
def si_code(self) -> int: ...
def waitid(__idtype: int, __ident: int, __options: int) -> waitid_result: ...
def waitid(__idtype: int, __ident: int, __options: int) -> waitid_result | None: ...
def wait3(options: int) -> tuple[int, int, Any]: ...
def wait4(pid: int, options: int) -> tuple[int, int, Any]: ...