]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add a versionchanged directive for gh-94692 (GH-112846)
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 8 Dec 2023 08:18:15 +0000 (10:18 +0200)
committerGitHub <noreply@github.com>
Fri, 8 Dec 2023 08:18:15 +0000 (10:18 +0200)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Doc/library/shutil.rst

index d30d289710b129a5bc01cb4f41a0fc5066e8b5e4..f61ef8b0ecc7ba787d0a1a1480265de697f45e31 100644 (file)
@@ -346,6 +346,8 @@ Directory and files operations
    .. versionchanged:: 3.13
       :func:`!rmtree` now ignores :exc:`FileNotFoundError` exceptions for all
       but the top-level path.
+      Exceptions other than :exc:`OSError` and subclasses of :exc:`!OSError`
+      are now always propagated to the caller.
 
    .. attribute:: rmtree.avoids_symlink_attacks