On 8/2/2018 7:53 AM, Thomas Nyberg via Python-ideas wrote:
On 08/02/2018 12:43 PM, Paul Moore wrote:
But if someone wanted to raise a doc bug suggesting that we mention
this, I'm not going to bother objecting...
Paul
I opened a bug here:
https://bugs.python.org/issue34319
We can see what others think.
I suggested on the issue that we add "The file is opened and then
closed." before "The optional parameters have the same meaning as in
open()."
Another option would be to add "The file is closed after reading." after
the latter sentence.
--
Terry Jan Reedy
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/