MCPcopy Index your code
hub / github.com/RustPython/RustPython / set_inheritable

Method set_inheritable

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

Source from the content-addressed store, hash-verified

536 def get_inheritable(self):
537 return os.get_handle_inheritable(self.fileno())
538 def set_inheritable(self, inheritable):
539 os.set_handle_inheritable(self.fileno(), inheritable)
540 else:
541 def get_inheritable(self):
542 return os.get_inheritable(self.fileno())

Callers 13

__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