]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Docs: `shutil.rmtree`'s `onerror` has no pending removal version (#118947)
authorHugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Thu, 30 May 2024 20:26:46 +0000 (23:26 +0300)
committerGitHub <noreply@github.com>
Thu, 30 May 2024 20:26:46 +0000 (14:26 -0600)
Doc/whatsnew/3.13.rst

index bcded65eba3103b2648f31529672187c77c7772a..241c07e781af1fb541c5a4a6aa5b578d6fc29447 100644 (file)
@@ -1676,9 +1676,6 @@ Pending Removal in Python 3.14
   * ``master_open()``: use :func:`pty.openpty`.
   * ``slave_open()``: use :func:`pty.openpty`.
 
-* :func:`shutil.rmtree` *onerror* parameter is deprecated in 3.12,
-  and will be removed in 3.14: use the *onexc* parameter instead.
-
 * :mod:`sqlite3`:
 
   * :data:`!version` and :data:`!version_info`.
@@ -1854,6 +1851,9 @@ although there is currently no date scheduled for their removal.
 
 * :mod:`!sre_compile`, :mod:`!sre_constants` and :mod:`!sre_parse` modules.
 
+* :mod:`shutil`: :func:`~shutil.rmtree`'s *onerror* parameter is deprecated in
+  Python 3.12; use the *onexc* parameter instead.
+
 * :mod:`ssl` options and protocols:
 
   * :class:`ssl.SSLContext` without protocol argument is deprecated.