Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ get_inheritable
Method
get_inheritable
Lib/socket.py:545–546 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
543
544
if
os.name ==
'nt'
:
545
def
get_inheritable(self):
546
return
os.get_handle_inheritable(self.fileno())
547
def
set_inheritable(self, inheritable):
548
os.set_handle_inheritable(self.fileno(), inheritable)
549
else
:
Callers
nothing calls this directly
Calls
1
fileno
Method · 0.45
Tested by
no test coverage detected