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

Method send

Lib/ssl.py:1225–1234  ·  view source on GitHub ↗
(self, data, flags=0)

Source from the content-addressed store, hash-verified

1223 return self._sslobj.compression()
1224
1225 def send(self, data, flags=0):
1226 self._checkClosed()
1227 if self._sslobj is not None:
1228 if flags != 0:
1229 raise ValueError(
1230 "non-zero flags not allowed in calls to send() on %s" %
1231 self.__class__)
1232 return self._sslobj.write(data)
1233 else:
1234 return super().send(data, flags)
1235
1236 def sendto(self, data, flags_or_addr, addr=None):
1237 self._checkClosed()

Callers 1

sendallMethod · 0.95

Calls 3

_checkClosedMethod · 0.95
superClass · 0.85
writeMethod · 0.45

Tested by

no test coverage detected