mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-20 19:01:15 +08:00
stdlib: Add os.get_handle_inheritable & setter
This commit is contained in:
committed by
Jelle Zijlstra
parent
aa383624cf
commit
182ddd9daf
@@ -662,6 +662,10 @@ def get_terminal_size(fd: int = ...) -> terminal_size: ...
|
||||
def get_inheritable(__fd: int) -> bool: ...
|
||||
def set_inheritable(__fd: int, __inheritable: bool) -> None: ...
|
||||
|
||||
if sys.platform == "win32":
|
||||
def get_handle_inheritable(__handle: int) -> bool: ...
|
||||
def set_handle_inheritable(__handle: int, __inheritable: bool) -> None: ...
|
||||
|
||||
if sys.platform != "win32":
|
||||
# Unix only
|
||||
def tcgetpgrp(__fd: int) -> int: ...
|
||||
|
||||
Reference in New Issue
Block a user