July 13, 2021
3 p.m.
On Tue, 13 Jul 2021 at 15:56, Jonathan Fine <jfine2358@gmail.com> wrote:
The interactive help message for writelines gives no help. I've made an enhancement request to b.p.o.
help(open('/dev/zero').writelines) gives no help https://bugs.python.org/issue44623
Please take a look.
Works for me on Python 3.9:
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.