Skip to content

Commit 64bc166

Browse files
serhiy-storchakaAlexWaygood
authored andcommitted
Add a versionchanged directive for pythongh-94692 (pythonGH-112846)
Co-authored-by: Alex Waygood <[email protected]>
1 parent 8284da8 commit 64bc166

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Doc/library/shutil.rst

Lines changed: 2 additions & 0 deletions
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)