On Tue, 13 Jul 2021 at 15:56, Jonathan Fine <jfine2...@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. _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/EPRIT27NWJBDX2LGDJO2ZLP7FSN6V6KN/ Code of Conduct: http://python.org/psf/codeofconduct/