[issue44623] help(open('/dev/zero').writelines) gives no help
Paul Moore
report at bugs.python.org
Tue Jul 13 11:00:25 EDT 2021
Paul Moore <p.f.moore at gmail.com> 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 <report at bugs.python.org>
<https://bugs.python.org/issue44623>
_______________________________________
More information about the Python-bugs-list
mailing list