diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-06-10 14:10:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-10 14:10:14 (GMT) |
commit | f0a89e65070557a80cd1e25e628fecc9968af643 (patch) | |
tree | d095d701eb869b81070792b50d6a0ad48a8dd67b | |
parent | 25444124e3e4a6174dbed4c5724a62d0e4785052 (diff) | |
download | cpython-f0a89e65070557a80cd1e25e628fecc9968af643.zip cpython-f0a89e65070557a80cd1e25e628fecc9968af643.tar.gz cpython-f0a89e65070557a80cd1e25e628fecc9968af643.tar.bz2 |
gh-93372: Fix typo in os.rename documentation (GH-93401) (GH-93403)
(cherry picked from commit e7aab7c92a7c2e4317023c71e847d55cf5c49f5f)
Co-authored-by: Wei-Ting Yang <74453331+Yang-Wei-Ting@users.noreply.github.com>
-rw-r--r-- | Doc/library/os.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst index dc0f2e4..cd0ea39 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -2328,7 +2328,7 @@ features: :exc:`IsADirectoryError` or a :exc:`NotADirectoryError` will be raised respectively. If both are directories and *dst* is empty, *dst* will be silently replaced. If *dst* is a non-empty directory, an :exc:`OSError` - is raised. If both are files, *dst* it will be replaced silently if the user + is raised. If both are files, *dst* will be replaced silently if the user has permission. The operation may fail on some Unix flavors if *src* and *dst* are on different filesystems. If successful, the renaming will be an atomic operation (this is a POSIX requirement). |