From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 23 Mar 2018 21:50:09 +0000 (-0700) Subject: bpo-27428: Fix WindowsRegistryFinder documentation to list appropriate ABC (GH-6061) X-Git-Tag: v3.6.6rc1~224 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=643a781188539de038745d23d0e8e5a03b781209;p=thirdparty%2FPython%2Fcpython.git bpo-27428: Fix WindowsRegistryFinder documentation to list appropriate ABC (GH-6061) (cherry picked from commit 5cbb84106efefd200933aa31e22abf39267d2557) Co-authored-by: Himanshu Lakhara --- diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst index d194362fb003..c1cd9485cc78 100644 --- a/Doc/library/importlib.rst +++ b/Doc/library/importlib.rst @@ -799,7 +799,7 @@ find and load modules. .. class:: WindowsRegistryFinder :term:`Finder` for modules declared in the Windows registry. This class - implements the :class:`importlib.abc.Finder` ABC. + implements the :class:`importlib.abc.MetaPathFinder` ABC. Only class methods are defined by this class to alleviate the need for instantiation. diff --git a/Misc/NEWS.d/next/Documentation/2018-03-11-00-16-56.bpo-27428.B7A8FT.rst b/Misc/NEWS.d/next/Documentation/2018-03-11-00-16-56.bpo-27428.B7A8FT.rst new file mode 100644 index 000000000000..c9ac8e22df08 --- /dev/null +++ b/Misc/NEWS.d/next/Documentation/2018-03-11-00-16-56.bpo-27428.B7A8FT.rst @@ -0,0 +1,2 @@ +Update documentation to clarify that ``WindowsRegistryFinder`` implements +``MetaPathFinder``. (Patch by Himanshu Lakhara)