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

Function recv_handle

Lib/multiprocessing/reduction.py:100–102  ·  view source on GitHub ↗

Receive a handle over a local connection.

(conn)

Source from the content-addressed store, hash-verified

98 conn.send(dh)
99
100 def recv_handle(conn):
101 '''Receive a handle over a local connection.'''
102 return conn.recv().detach()
103
104 class DupHandle(object):
105 '''Picklable wrapper for a handle.'''

Callers

nothing calls this directly

Calls 5

recvfdsFunction · 0.85
fromfdMethod · 0.80
detachMethod · 0.45
recvMethod · 0.45
filenoMethod · 0.45

Tested by

no test coverage detected