From 4ac1e8fb25c5c0e1da61784281ab878db671761b Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Fri, 8 Dec 2023 10:18:15 +0200 Subject: Add a versionchanged directive for gh-94692 (GH-112846) Co-authored-by: Alex Waygood --- Doc/library/shutil.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst index d30d289..f61ef8b 100644 --- a/Doc/library/shutil.rst +++ b/Doc/library/shutil.rst @@ -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 -- cgit v0.12