socket: add .set_inheritable() (#2935)

This commit is contained in:
Jelle Zijlstra
2019-04-28 08:13:20 -07:00
committed by Sebastian Rittau
parent 5acc22d82a
commit ff650d3275

View File

@@ -575,6 +575,8 @@ class socket:
__flags: int = ...) -> Tuple[int, List[_CMSG], int, Any]: ...
def sendmsg(self, __buffers: Iterable[bytes], __ancdata: Iterable[_CMSG] = ...,
__flags: int = ..., __address: _Address = ...) -> int: ...
if sys.version_info >= (3, 4):
def set_inheritable(self, inheritable: bool) -> None: ...
# ----- functions -----