This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jfine2358
Recipients docs@python, jfine2358
Date 2021-07-13.14:48:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1626187719.66.0.592633008408.issue44623@roundup.psfhosted.org>
In-reply-to
Content
On Linux
>>> help(open('/dev/zero').writelines)
gives
<built-in method writelines of _io.TextIOWrapper object at 0x7fed03d4e558>

However
https://docs.python.org/3/library/io.html#io.IOBase.writelines
gives

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.

See also request that writelines support a line separator.
https://mail.python.org/archives/list/python-ideas@python.org/thread/A5FT7SVZBYAJJTIWQFTFUGNSKMVQNPVF/#A5FT7SVZBYAJJTIWQFTFUGNSKMVQNPVF
History
Date User Action Args
2021-07-13 14:48:39jfine2358setrecipients: + jfine2358, docs@python
2021-07-13 14:48:39jfine2358setmessageid: <1626187719.66.0.592633008408.issue44623@roundup.psfhosted.org>
2021-07-13 14:48:39jfine2358linkissue44623 messages
2021-07-13 14:48:39jfine2358create