Add a versionchanged directive for gh-94692 (GH-112846)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
Serhiy Storchaka 2023-12-08 10:18:15 +02:00 committed by GitHub
parent 28b2b7407c
commit 4ac1e8fb25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -346,6 +346,8 @@ Directory and files operations
.. versionchanged:: 3.13 .. versionchanged:: 3.13
:func:`!rmtree` now ignores :exc:`FileNotFoundError` exceptions for all :func:`!rmtree` now ignores :exc:`FileNotFoundError` exceptions for all
but the top-level path. 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 .. attribute:: rmtree.avoids_symlink_attacks