MCPcopy Index your code
hub / github.com/python/cpython / set_inheritable

Method set_inheritable

Lib/socket.py:547–548  ·  view source on GitHub ↗
(self, inheritable)

Source from the content-addressed store, hash-verified

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:
550 def get_inheritable(self):
551 return os.get_inheritable(self.fileno())

Callers 12

__init__Method · 0.80
test_close_fdsMethod · 0.80
test_pass_fdsMethod · 0.80
test_set_inheritableMethod · 0.80
test_setsidMethod · 0.80

Calls 1

filenoMethod · 0.45

Tested by 11

test_close_fdsMethod · 0.64
test_pass_fdsMethod · 0.64
test_set_inheritableMethod · 0.64
test_setsidMethod · 0.64