mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-14 22:21:44 +08:00
stdlib: Add os.pidfd_open(pid)
This commit is contained in:
committed by
Jelle Zijlstra
parent
9abf314a5b
commit
81a85f18b6
@@ -1024,3 +1024,6 @@ if sys.version_info >= (3, 8):
|
||||
|
||||
if sys.version_info >= (3, 9):
|
||||
def waitstatus_to_exitcode(status: int) -> int: ...
|
||||
|
||||
if sys.platform == "linux":
|
||||
def pidfd_open(pid: int, flags: int = ...) -> int: ...
|
||||
|
||||
Reference in New Issue
Block a user