Write a list of lines to the stream. Line separators are not added, so it is usual for each of the lines provided to have a line separator at the end.
(self, lines)
| 608 | return lines |
| 609 | |
| 610 | def writelines(self, lines): |
| 611 | """Write a list of lines to the stream. |
| 612 | |
| 613 | Line separators are not added, so it is usual for each of the lines |
| 614 | provided to have a line separator at the end. |
| 615 | """ |
| 616 | self._checkClosed() |
| 617 | for line in lines: |
| 618 | self.write(line) |
| 619 | |
| 620 | io.IOBase.register(IOBase) |
| 621 |
nothing calls this directly
no test coverage detected