Skip to content

Commit ce057ae

Browse files
miss-islingtonYang-Wei-Tingambv
authored
gh-93372: Fix typo in os.rename documentation (GH-93401) (GH-93404)
(cherry picked from commit e7aab7c) Co-authored-by: Wei-Ting Yang <[email protected]> Co-authored-by: Łukasz Langa <[email protected]>
1 parent 8dc8b27 commit ce057ae

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
@@ -2307,7 +2307,7 @@ features:
23072307
:exc:`IsADirectoryError` or a :exc:`NotADirectoryError` will be raised
23082308
respectively. If both are directories and *dst* is empty, *dst* will be
23092309
silently replaced. If *dst* is a non-empty directory, an :exc:`OSError`
2310-
is raised. If both are files, *dst* it will be replaced silently if the user
2310+
is raised. If both are files, *dst* will be replaced silently if the user
23112311
has permission. The operation may fail on some Unix flavors if *src* and
23122312
*dst* are on different filesystems. If successful, the renaming will be an
23132313
atomic operation (this is a POSIX requirement).

0 commit comments

Comments
 (0)