Author steven.daprano
Recipients Howard Waterfall, docs@python, steven.daprano
Date 2020-04-05.01:52:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586051535.72.0.0376755907342.issue40191@roundup.psfhosted.org>
In-reply-to
Content
I think you may have misread the documentation. It says:

"an OS-level handle to an open file"

which is what you call a file descriptor. Not a file object, which is what you get by calling the builtin `open`, but a file handle like you get from calling `os.open` (as stated).

So I believe that the documentation is correct, but given that at least one person misunderstood it, perhaps it could do with improvement.

Do you have any suggestion for improvement?
History
Date User Action Args
2020-04-05 01:52:15steven.dapranosetrecipients: + steven.daprano, docs@python, Howard Waterfall
2020-04-05 01:52:15steven.dapranosetmessageid: <1586051535.72.0.0376755907342.issue40191@roundup.psfhosted.org>
2020-04-05 01:52:15steven.dapranolinkissue40191 messages
2020-04-05 01:52:15steven.dapranocreate