From: Himanshu Lakhara Date: Fri, 23 Mar 2018 21:26:35 +0000 (+0530) Subject: bpo-27428: Fix WindowsRegistryFinder documentation to list appropriate ABC (GH-6061) X-Git-Tag: v3.8.0a1~2054 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5cbb84106efefd200933aa31e22abf39267d2557;p=python bpo-27428: Fix WindowsRegistryFinder documentation to list appropriate ABC (GH-6061) --- diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst index db75f69a0d..f9387c07e1 100644 --- a/Doc/library/importlib.rst +++ b/Doc/library/importlib.rst @@ -1030,7 +1030,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 0000000000..c9ac8e22df --- /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)