[issue44623] help(open('/dev/zero').writelines) gives no help

2021-07-13 Thread Zachary Ware
Change by Zachary Ware : -- versions: +Python 3.6 -Python 3.11 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44623] help(open('/dev/zero').writelines) gives no help

2021-07-13 Thread Zachary Ware
Zachary Ware added the comment: Even with 3.6 I get a different result: ``` Python 3.6.13 (tags/v3.6.13:aa73e1722e, Mar 23 2021, 15:45:49) [GCC 9.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> help(open('/dev/zero').writelines) Help on built-in functi

[issue44623] help(open('/dev/zero').writelines) gives no help

2021-07-13 Thread Jonathan Fine
Jonathan Fine added the comment: I used my default Python, which is Python 3.6. However, with 3.7 and 3.8 I get the same as Paul. So I'm closing this as 'not a bug' (as there's not an already-fixed option for closing). -- resolution: works for me -> not a bug status: pending -> open

[issue44623] help(open('/dev/zero').writelines) gives no help

2021-07-13 Thread Zachary Ware
Zachary Ware added the comment: I also can't reproduce this with a fresh build of 3b5b99da4b on Linux. -- nosy: +zach.ware resolution: -> works for me status: open -> pending ___ Python tracker

[issue44623] help(open('/dev/zero').writelines) gives no help

2021-07-13 Thread Paul Moore
Paul Moore 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 prov

[issue44623] help(open('/dev/zero').writelines) gives no help

2021-07-13 Thread Jonathan Fine
New submission from Jonathan Fine : On Linux >>> help(open('/dev/zero').writelines) gives 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 l