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

Method writelines

Lib/codecs.py:383–388  ·  view source on GitHub ↗

Writes the concatenated list of strings to the stream using .write().

(self, list)

Source from the content-addressed store, hash-verified

381 self.stream.write(data)
382
383 def writelines(self, list):
384
385 """ Writes the concatenated list of strings to the stream
386 using .write().
387 """
388 self.write(''.join(list))
389
390 def reset(self):
391

Callers 1

writelinesMethod · 0.45

Calls 2

writeMethod · 0.95
joinMethod · 0.45

Tested by

no test coverage detected