diff options
author | Mateusz <mateka@users.noreply.github.com> | 2022-10-28 23:31:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-28 23:31:37 (GMT) |
commit | 0023f51debeeeef483a6362ee12d67c4da086af3 (patch) | |
tree | 022196d2ecc0dcdb9a2c74223b2f80c999391caa /Doc | |
parent | e089f23bbbb27a84c6354147b99f7ec897ca9925 (diff) | |
download | cpython-0023f51debeeeef483a6362ee12d67c4da086af3.zip cpython-0023f51debeeeef483a6362ee12d67c4da086af3.tar.gz cpython-0023f51debeeeef483a6362ee12d67c4da086af3.tar.bz2 |
gh-98240: Updated Path.rename docs, when it is atomic (GH-98245)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/pathlib.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/pathlib.rst b/Doc/library/pathlib.rst index a6daca9..944963e 100644 --- a/Doc/library/pathlib.rst +++ b/Doc/library/pathlib.rst @@ -1186,6 +1186,8 @@ call fails (for example because the path doesn't exist). relative to the current working directory, *not* the directory of the Path object. + It is implemented in terms of :func:`os.rename` and gives the same guarantees. + .. versionchanged:: 3.8 Added return value, return the new Path instance. |