From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 8 May 2025 19:03:10 +0000 (+0200) Subject: [3.14] Fix typo in pending-removal-in-3.14.rst (GH-133680) (GH-133697) X-Git-Tag: v3.14.0b2~220 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=79644893c5ba194dd141aad37f6bfa2300fe6fb3;p=thirdparty%2FPython%2Fcpython.git [3.14] Fix typo in pending-removal-in-3.14.rst (GH-133680) (GH-133697) (cherry picked from commit 9546eeea90c8deb8570a0ef621f075c3c766bc12) Co-authored-by: Rafael Fontenelle --- diff --git a/Doc/deprecations/pending-removal-in-3.14.rst b/Doc/deprecations/pending-removal-in-3.14.rst index 6159fa488482..9aac10840a66 100644 --- a/Doc/deprecations/pending-removal-in-3.14.rst +++ b/Doc/deprecations/pending-removal-in-3.14.rst @@ -78,7 +78,7 @@ Pending removal in Python 3.14 :meth:`~pathlib.PurePath.relative_to`: passing additional arguments is deprecated. -* :mod:`pkgutil`: :func:`!pkgutil.find_loader` and :func:!pkgutil.get_loader` +* :mod:`pkgutil`: :func:`!pkgutil.find_loader` and :func:`!pkgutil.get_loader` now raise :exc:`DeprecationWarning`; use :func:`importlib.util.find_spec` instead. (Contributed by Nikita Sobolev in :gh:`97850`.)