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

Method send

Lib/multiprocessing/connection.py:209–213  ·  view source on GitHub ↗

Send a (picklable) object

(self, obj)

Source from the content-addressed store, hash-verified

207 self._send_bytes(m[offset:offset + size])
208
209 def send(self, obj):
210 """Send a (picklable) object"""
211 self._check_closed()
212 self._check_writable()
213 self._send_bytes(_ForkingPickler.dumps(obj))
214
215 def recv_bytes(self, maxlength=None):
216 """

Callers

nothing calls this directly

Calls 4

_check_closedMethod · 0.95
_check_writableMethod · 0.95
_send_bytesMethod · 0.45
dumpsMethod · 0.45

Tested by

no test coverage detected