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

Method writelines

Lib/asyncio/sslproto.py:224–230  ·  view source on GitHub ↗

Write a list (or any iterable) of data bytes to the transport. The default implementation concatenates the arguments and calls write() on the result.

(self, list_of_data)

Source from the content-addressed store, hash-verified

222 self._ssl_protocol._write_appdata((data,))
223
224 def writelines(self, list_of_data):
225 """Write a list (or any iterable) of data bytes to the transport.
226
227 The default implementation concatenates the arguments and
228 calls write() on the result.
229 """
230 self._ssl_protocol._write_appdata(list_of_data)
231
232 def write_eof(self):
233 """Close the write end after flushing buffered data.

Callers

nothing calls this directly

Calls 1

_write_appdataMethod · 0.80

Tested by

no test coverage detected