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

Method fileno

Lib/multiprocessing/connection.py:172–175  ·  view source on GitHub ↗

File descriptor or handle of the connection

(self)

Source from the content-addressed store, hash-verified

170 return self._writable
171
172 def fileno(self):
173 """File descriptor or handle of the connection"""
174 self._check_closed()
175 return self._handle
176
177 def close(self):
178 """Close the connection"""

Callers 9

send_handleFunction · 0.45
recv_handleFunction · 0.45
_reduce_socketFunction · 0.45
ensure_runningMethod · 0.45
mainFunction · 0.45
_launchMethod · 0.45
reduce_connectionFunction · 0.45
reduce_pipe_connectionFunction · 0.45

Calls 1

_check_closedMethod · 0.95

Tested by

no test coverage detected