summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2023-12-08 08:18:15 (GMT)
committerGitHub <noreply@github.com>2023-12-08 08:18:15 (GMT)
commit4ac1e8fb25c5c0e1da61784281ab878db671761b (patch)
tree683e487d0f89e0cf924611d89d8f0e325c7b49c5
parent28b2b7407c25d448ff5d8836efabbe7c02316568 (diff)
downloadcpython-4ac1e8fb25c5c0e1da61784281ab878db671761b.zip
cpython-4ac1e8fb25c5c0e1da61784281ab878db671761b.tar.gz
cpython-4ac1e8fb25c5c0e1da61784281ab878db671761b.tar.bz2
Add a versionchanged directive for gh-94692 (GH-112846)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
-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