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

Method sendfile_native

Lib/test/test_asyncio/test_sendfile.py:322–325  ·  view source on GitHub ↗
(transp, file, offset, count)

Source from the content-addressed store, hash-verified

320 srv_proto, cli_proto = self.prepare_sendfile()
321
322 def sendfile_native(transp, file, offset, count):
323 # to raise SendfileNotAvailableError
324 return base_events.BaseEventLoop._sendfile_native(
325 self.loop, transp, file, offset, count)
326
327 self.loop._sendfile_native = sendfile_native
328

Callers

nothing calls this directly

Calls 1

_sendfile_nativeMethod · 0.45

Tested by

no test coverage detected