mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
socket: add .set_inheritable() (#2935)
This commit is contained in:
committed by
Sebastian Rittau
parent
5acc22d82a
commit
ff650d3275
@@ -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 -----
|
||||
|
||||
Reference in New Issue
Block a user