Paul Moore <[email protected]> added the comment:
It does for me:
>>> help(open("nul").writelines)
Help on built-in function writelines:
writelines(lines, /) method of _io.TextIOWrapper instance
Write a list of lines to stream.
Line separators are not added, so it is usual for each of the
lines provided to have a line separator at the end.
This is Windows, Python 3.9. What version did you get the problem with? If it's
older, I'd say the problem has likely since been fixed.
----------
nosy: +paul.moore
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue44623>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com