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

Method recv

Lib/multiprocessing/connection.py:253–258  ·  view source on GitHub ↗

Receive a (picklable) object

(self)

Source from the content-addressed store, hash-verified

251 return size
252
253 def recv(self):
254 """Receive a (picklable) object"""
255 self._check_closed()
256 self._check_readable()
257 buf = self._recv_bytes()
258 return _ForkingPickler.loads(buf.getbuffer())
259
260 def poll(self, timeout=0.0):
261 """Whether there is any input available to be read"""

Callers 8

recv_handleFunction · 0.45
sendfdsFunction · 0.45
dispatchFunction · 0.45
_handle_requestMethod · 0.45
startMethod · 0.45
_callmethodMethod · 0.45
_help_stuff_finishMethod · 0.45
_serveMethod · 0.45

Calls 5

_check_closedMethod · 0.95
_check_readableMethod · 0.95
_recv_bytesMethod · 0.45
loadsMethod · 0.45
getbufferMethod · 0.45

Tested by

no test coverage detected