mirror of https://github.com/python/cpython
Add a versionchanged directive for gh-94692 (GH-112846)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
parent
28b2b7407c
commit
4ac1e8fb25
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue