Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ get_inheritable
Method
get_inheritable
Lib/asyncio/trsock.py:62–63 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
60
return
self._sock.dup()
61
62
def
get_inheritable(self):
63
return
self._sock.get_inheritable()
64
65
def
shutdown(self, how):
66
# asyncio doesn't currently provide a high-level transport API
Callers
15
test_fd_non_inheritable
Method · 0.45
_save_fds
Method · 0.45
test_pass_fds_inheritable
Method · 0.45
test_open_non_inheritable
Method · 0.45
test_SOCK_CLOEXEC
Method · 0.45
test_default_inheritable
Method · 0.45
test_dup
Method · 0.45
test_set_inheritable
Method · 0.45
test_get_inheritable_cloexec
Method · 0.45
test_socketpair
Method · 0.45
test_fd_non_inheritable
Method · 0.45
test_noinherit
Method · 0.45
Calls
no outgoing calls
Tested by
15
test_fd_non_inheritable
Method · 0.36
_save_fds
Method · 0.36
test_pass_fds_inheritable
Method · 0.36
test_open_non_inheritable
Method · 0.36
test_SOCK_CLOEXEC
Method · 0.36
test_default_inheritable
Method · 0.36
test_dup
Method · 0.36
test_set_inheritable
Method · 0.36
test_get_inheritable_cloexec
Method · 0.36
test_socketpair
Method · 0.36
test_fd_non_inheritable
Method · 0.36
test_noinherit
Method · 0.36