cpython/Misc/NEWS.d/next/Library/2023-03-19-15-30-59.gh-issu...

4 lines
162 B
ReStructuredText

Add the ``onexc`` arg to :func:`shutil.rmtree`, which is like ``onerror``
but expects an exception instance rather than an exc_info tuple. Deprecate
``onerror``.