8000 gh-93372: Fix typo in os.rename documentation (GH-93401) (GH-93403) · python/cpython@f0a89e6 · GitHub
[go: up one dir, main page]

Skip to content

Commit f0a89e6

Browse files
gh-93372: Fix typo in os.rename documentation (GH-93401) (GH-93403)
(cherry picked from commit e7aab7c) Co-authored-by: Wei-Ting Yang <74453331+Yang-Wei-Ting@users.noreply.github.com>
1 parent 2544412 commit f0a89e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/os.rst

Lines changed: 1 addition & 1 deletion
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)
0