From 225718b29200b3a6da77ace16056fa1ff836d919 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Fri, 8 Dec 2023 10:18:15 +0200 Subject: [PATCH] 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 d30d289710b129a..f61ef8b0ecc7ba7 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