Skip to content

Commit 3c2ca2e

Browse files
committed
gh-93372: Fix typo in os.rename documentation
1 parent 8241a69 commit 3c2ca2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/os.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -2328,7 +2328,7 @@ features:
23282328
:exc:`IsADirectoryError` or a :exc:`NotADirectoryError` will be raised
23292329
respectively. If both are directories and *dst* is empty, *dst* will be
23302330
silently replaced. If *dst* is a non-empty directory, an :exc:`OSError`
2331-
is raised. If both are files, *dst* it will be replaced silently if the user
2331+
is raised. If both are files, *dst* will be replaced silently if the user
23322332
has permission. The operation may fail on some Unix flavors if *src* and
23332333
*dst* are on different filesystems. If successful, the renaming will be an
23342334
atomic operation (this is a POSIX requirement).

0 commit comments

Comments
 (0)