]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-93372: Fix typo in os.rename documentation (GH-93401)
authorWei-Ting Yang <74453331+Yang-Wei-Ting@users.noreply.github.com>
Wed, 1 Jun 2022 06:54:31 +0000 (14:54 +0800)
committerGitHub <noreply@github.com>
Wed, 1 Jun 2022 06:54:31 +0000 (09:54 +0300)
Doc/library/os.rst

index 1f434a1c5b62fbc13908ea461d9cceef3651d9cf..d5e9bbcffc31cf74de46d692339774337211fd2b 100644 (file)
@@ -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).