]> granicus.if.org Git - python/commitdiff
bpo-27428: Fix WindowsRegistryFinder documentation to list appropriate ABC (GH-6061)
authorHimanshu Lakhara <himanshulakhara1947@gmail.com>
Fri, 23 Mar 2018 21:26:35 +0000 (02:56 +0530)
committerBrett Cannon <brettcannon@users.noreply.github.com>
Fri, 23 Mar 2018 21:26:35 +0000 (14:26 -0700)
Doc/library/importlib.rst
Misc/NEWS.d/next/Documentation/2018-03-11-00-16-56.bpo-27428.B7A8FT.rst [new file with mode: 0644]

index db75f69a0d007dd7bb38408377a7b73d1df3a210..f9387c07e18c144e310e5541be98ee2588793a5b 100644 (file)
@@ -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 (file)
index 0000000..c9ac8e2
--- /dev/null
@@ -0,0 +1,2 @@
+Update documentation to clarify that ``WindowsRegistryFinder`` implements
+``MetaPathFinder``. (Patch by Himanshu Lakhara)