]> granicus.if.org Git - python/commitdiff
bpo-27428: Fix WindowsRegistryFinder documentation to list appropriate ABC (GH-6061)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 23 Mar 2018 21:50:09 +0000 (14:50 -0700)
committerGitHub <noreply@github.com>
Fri, 23 Mar 2018 21:50:09 +0000 (14:50 -0700)
(cherry picked from commit 5cbb84106efefd200933aa31e22abf39267d2557)

Co-authored-by: Himanshu Lakhara <himanshulakhara1947@gmail.com>
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 d194362fb003c25abbf5a564f1922102a8a557b5..c1cd9485cc7882390a7736f50e9f4d1e58adaf3e 100644 (file)
@@ -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 (file)
index 0000000..c9ac8e2
--- /dev/null
@@ -0,0 +1,2 @@
+Update documentation to clarify that ``WindowsRegistryFinder`` implements
+``MetaPathFinder``. (Patch by Himanshu Lakhara)