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

Method _get_devnull

Lib/subprocess.py:1146–1149  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1144 _active.append(self)
1145
1146 def _get_devnull(self):
1147 if not hasattr(self, '_devnull'):
1148 self._devnull = os.open(os.devnull, os.O_RDWR)
1149 return self._devnull
1150
1151 def _stdin_write(self, input):
1152 if input:

Callers 1

_get_handlesMethod · 0.95

Calls 2

hasattrFunction · 0.85
openMethod · 0.45

Tested by

no test coverage detected