Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ba51d5 commit af636f4Copy full SHA for af636f4
1 file changed
Doc/library/pathlib.rst
@@ -1119,6 +1119,9 @@ call fails (for example because the path doesn't exist).
1119
>>> p.read_text()
1120
'Text file contents'
1121
1122
+ An existing file of the same name is overwritten. The optional parameters
1123
+ have the same meaning as in :func:`open`.
1124
+
1125
.. versionadded:: 3.5
1126
1127
Correspondence to tools in the :mod:`os` module
0 commit comments