From 51bf88343d9f813a53f228613462d60f4c08ac08 Mon Sep 17 00:00:00 2001 From: Himanshu Lakhara Date: Sun, 11 Mar 2018 00:20:29 +0530 Subject: [PATCH 1/2] bpo-27428: Fix WindowsRegistryFinder documentation Update documentation to clarify that WindowsRegistryFinder implement MetaPathFinder --- Doc/library/importlib.rst | 2 +- .../next/Documentation/2018-03-11-00-16-56.bpo-27428.B7A8FT.rst | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 Misc/NEWS.d/next/Documentation/2018-03-11-00-16-56.bpo-27428.B7A8FT.rst diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst index db75f69a0d007d..f9387c07e18c14 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 00000000000000..b5e26de969f50f --- /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`` implement +``MetaPathFinder``. Patch by Himanshu Lakhara From b516fa2c1e7caa70a20065d3e732e1363858e107 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Fri, 23 Mar 2018 14:01:19 -0700 Subject: [PATCH 2/2] Tweak notes wording [no ci] --- .../Documentation/2018-03-11-00-16-56.bpo-27428.B7A8FT.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 index b5e26de969f50f..c9ac8e22df0855 100644 --- 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 @@ -1,2 +1,2 @@ -Update documentation to clarify that ``WindowsRegistryFinder`` implement -``MetaPathFinder``. Patch by Himanshu Lakhara +Update documentation to clarify that ``WindowsRegistryFinder`` implements +``MetaPathFinder``. (Patch by Himanshu Lakhara)