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

Method writelines

Lib/idlelib/outwin.py:118–121  ·  view source on GitHub ↗

Write each item in lines iterable.

(self, lines)

Source from the content-addressed store, hash-verified

116 return len(s)
117
118 def writelines(self, lines):
119 "Write each item in lines iterable."
120 for line in lines:
121 self.write(line)
122
123 def flush(self):
124 "No flushing needed as write() directly writes to widget."

Callers 2

test_writelinesMethod · 0.45

Calls 1

writeMethod · 0.95

Tested by 1

test_writelinesMethod · 0.36