Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/env-windows
/ get_inheritable
Method
get_inheritable
tools/python-3.11.9-amd64/Lib/socket.py:528–529 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
526
527
if
os.name ==
'nt'
:
528
def
get_inheritable(self):
529
return
os.get_handle_inheritable(self.fileno())
530
def
set_inheritable(self, inheritable):
531
os.set_handle_inheritable(self.fileno(), inheritable)
532
else
:
Callers
nothing calls this directly
Calls
1
fileno
Method · 0.45
Tested by
no test coverage detected