[Python-ideas] With expressions

Terry Reedy tjreedy at udel.edu
Thu Aug 2 16:13:26 EDT 2018


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




More information about the Python-ideas mailing list