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

Method recv

Lib/ssl.py:1329–1338  ·  view source on GitHub ↗
(self, buflen=1024, flags=0)

Source from the content-addressed store, hash-verified

1327 return self._sendfile_use_send(file, offset, count)
1328
1329 def recv(self, buflen=1024, flags=0):
1330 self._checkClosed()
1331 if self._sslobj is not None:
1332 if flags != 0:
1333 raise ValueError(
1334 "non-zero flags not allowed in calls to recv() on %s" %
1335 self.__class__)
1336 return self.read(buflen)
1337 else:
1338 return super().recv(buflen, flags)
1339
1340 def recv_into(self, buffer, nbytes=None, flags=0):
1341 self._checkClosed()

Callers 6

_createMethod · 0.95
readMethod · 0.45
readlineMethod · 0.45
retrbinaryMethod · 0.45
listenerMethod · 0.45
_readlineMethod · 0.45

Calls 3

_checkClosedMethod · 0.95
readMethod · 0.95
superClass · 0.85

Tested by

no test coverage detected