Skip to content

Commit 4ac1e8f

Browse files
Add a versionchanged directive for gh-94692 (GH-112846)
Co-authored-by: Alex Waygood <[email protected]>
1 parent 28b2b74 commit 4ac1e8f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Doc/library/shutil.rst

+2
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,8 @@ Directory and files operations
346346
.. versionchanged:: 3.13
347347
:func:`!rmtree` now ignores :exc:`FileNotFoundError` exceptions for all
348348
but the top-level path.
349+
Exceptions other than :exc:`OSError` and subclasses of :exc:`!OSError`
350+
are now always propagated to the caller.
349351

350352
.. attribute:: rmtree.avoids_symlink_attacks
351353

0 commit comments

Comments
 (0)