Skip to content

Commit 1afae4e

Browse files
authored
Changes waitid to return waitid_result | None (#10589)
Fixes #10564
1 parent 8ca4116 commit 1afae4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/os/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,7 @@ else:
912912
@property
913913
def si_code(self) -> int: ...
914914

915-
def waitid(__idtype: int, __ident: int, __options: int) -> waitid_result: ...
915+
def waitid(__idtype: int, __ident: int, __options: int) -> waitid_result | None: ...
916916

917917
def wait3(options: int) -> tuple[int, int, Any]: ...
918918
def wait4(pid: int, options: int) -> tuple[int, int, Any]: ...

0 commit comments

Comments
 (0)