Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
gh-72542: State that os.rename() always fails across filesystems on W…
…indows
  • Loading branch information
MannXo committed Jul 28, 2026
commit 41d172d2f13afb4360876fae0909a0ce5865c8b7
2 changes: 1 addition & 1 deletion Doc/library/os.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2844,7 +2844,7 @@ features:
will fail with an :exc:`OSError` subclass in a number of cases:

On Windows, if *dst* exists a :exc:`FileExistsError` is always raised.
The operation may fail if *src* and *dst* are on different filesystems. Use
The operation will fail if *src* and *dst* are on different filesystems. Use
:func:`shutil.move` to support moves to a different filesystem.

On Unix, if *src* is a file and *dst* is a directory or vice-versa, an
Expand Down
Loading