diff --git a/Doc/library/pathlib.rst b/Doc/library/pathlib.rst index 4e9ea39895b43c..4c0aba1e94423a 100644 --- a/Doc/library/pathlib.rst +++ b/Doc/library/pathlib.rst @@ -1164,6 +1164,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.