File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,9 @@ from . import path as _path
3333if sys .version_info >= (3 , 9 ):
3434 from types import GenericAlias
3535
36+ if sys .platform != "win32" :
37+ from resource import struct_rusage
38+
3639# This unnecessary alias is to work around various errors
3740path = _path
3841
@@ -962,8 +965,8 @@ else:
962965
963966 def waitid (__idtype : int , __ident : int , __options : int ) -> waitid_result | None : ...
964967
965- def wait3 (options : int ) -> tuple [int , int , Any ]: ...
966- def wait4 (pid : int , options : int ) -> tuple [int , int , Any ]: ...
968+ def wait3 (options : int ) -> tuple [int , int , struct_rusage ]: ...
969+ def wait4 (pid : int , options : int ) -> tuple [int , int , struct_rusage ]: ...
967970 def WCOREDUMP (__status : int ) -> bool : ...
968971 def WIFCONTINUED (status : int ) -> bool : ...
969972 def WIFSTOPPED (status : int ) -> bool : ...
You can’t perform that action at this time.
0 commit comments