mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-11 14:31:55 +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: ...
|
||||
|
||||
@@ -69,8 +69,6 @@ distutils.msvccompiler.MSVCCompiler.manifest_get_embed_info
|
||||
distutils.msvccompiler.MSVCCompiler.manifest_setup_ldargs
|
||||
distutils.msvccompiler.OldMSVCCompiler
|
||||
msvcrt.SetErrorMode
|
||||
os.get_handle_inheritable
|
||||
os.set_handle_inheritable
|
||||
socket.MsgFlag.MSG_BCAST
|
||||
socket.MsgFlag.MSG_MCAST
|
||||
ssl.SSLSocket.recvmsg
|
||||
|
||||
Reference in New Issue
Block a user