diff --git a/Doc/library/os.rst b/Doc/library/os.rst index d2534b3e974f36..fc97558f3c4f00 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -3901,6 +3901,8 @@ features: as a directory if *target_is_directory* is ``True`` or a file symlink (the default) otherwise. On non-Windows platforms, *target_is_directory* is ignored. + If the *dst* already exists, :exc:`FileExistsError` is raised. + This function can support :ref:`paths relative to directory descriptors `.