summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/shutil.rst2
1 files changed, 2 insertions, 0 deletions
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