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

Method send

Lib/multiprocessing/resource_sharer.py:31–33  ·  view source on GitHub ↗
(conn, pid)

Source from the content-addressed store, hash-verified

29 def __init__(self, sock):
30 new_sock = sock.dup()
31 def send(conn, pid):
32 share = new_sock.share(pid)
33 conn.send_bytes(share)
34 self._id = _resource_sharer.register(send, new_sock.close)
35
36 def detach(self):

Callers

nothing calls this directly

Calls 1

send_bytesMethod · 0.45

Tested by

no test coverage detected