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

Function rebuild_pipe_connection

Lib/multiprocessing/connection.py:1178–1180  ·  view source on GitHub ↗
(dh, readable, writable)

Source from the content-addressed store, hash-verified

1176 dh = reduction.DupHandle(conn.fileno(), access)
1177 return rebuild_pipe_connection, (dh, conn.readable, conn.writable)
1178 def rebuild_pipe_connection(dh, readable, writable):
1179 handle = dh.detach()
1180 return PipeConnection(handle, readable, writable)
1181 reduction.register(PipeConnection, reduce_pipe_connection)
1182
1183else:

Callers

nothing calls this directly

Calls 2

PipeConnectionClass · 0.85
detachMethod · 0.45

Tested by

no test coverage detected