From: Rafael Fontenelle Date: Thu, 8 May 2025 18:57:23 +0000 (-0300) Subject: Fix typo in pending-removal-in-3.14.rst (GH-133680) X-Git-Tag: v3.15.0a1~1816 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9546eeea90c8deb8570a0ef621f075c3c766bc12;p=thirdparty%2FPython%2Fcpython.git Fix typo in pending-removal-in-3.14.rst (GH-133680) --- 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`.)