Kaydet (Commit) 5b2657fb authored tarafından Xtreak's avatar Xtreak Kaydeden (comit) Terry Jan Reedy

bpo-34319: Clarify file handler closure in pathlib.read_text (GH-8645)

Patch by Terry Jan Reedy.
üst 8f7bb100
......@@ -915,7 +915,8 @@ call fails (for example because the path doesn't exist):
>>> p.read_text()
'Text file contents'
The optional parameters have the same meaning as in :func:`open`.
The file is opened and then closed. The optional parameters have the same
meaning as in :func:`open`.
.. versionadded:: 3.5
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment