diff options
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/_pyio.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/_pyio.py b/Lib/_pyio.py index e868fdc7cb..af2ce30c27 100644 --- a/Lib/_pyio.py +++ b/Lib/_pyio.py @@ -551,6 +551,11 @@ class IOBase(metaclass=abc.ABCMeta): return lines def writelines(self, lines): + """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._checkClosed() for line in lines: self.write(line) |