]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] Docs: `shutil.rmtree`'s `onerror` has no pending removal version (GH-118947...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 30 May 2024 20:52:43 +0000 (22:52 +0200)
committerGitHub <noreply@github.com>
Thu, 30 May 2024 20:52:43 +0000 (20:52 +0000)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Doc/whatsnew/3.13.rst

index 462a678aa4f739a4a535652f16e0644ed570649c..8799cf2ce2bd2d95901a6389e95b1a8817471e80 100644 (file)
@@ -1664,9 +1664,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:`~sqlite3.version` and :data:`~sqlite3.version_info`.
@@ -1842,6 +1839,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.