[Python-checkins] importlib docs: Update importlib.abc hierarchy (#31113)

JelleZijlstra webhook-mailer at python.org
Mon May 2 16:26:45 EDT 2022


https://github.com/python/cpython/commit/5f45a9d3c3de97a4eafedb60ecea224a78bae52c
commit: 5f45a9d3c3de97a4eafedb60ecea224a78bae52c
branch: main
author: David Gilbertson <gilbertson.david at gmail.com>
committer: JelleZijlstra <jelle.zijlstra at gmail.com>
date: 2022-05-02T14:26:35-06:00
summary:

importlib docs: Update importlib.abc hierarchy (#31113)

Fixed some inconsistencies in the text about relationships

files:
M Doc/library/importlib.rst

diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst
index 783653831b507..0241fb30b6efb 100644
--- a/Doc/library/importlib.rst
+++ b/Doc/library/importlib.rst
@@ -248,8 +248,8 @@ ABC hierarchy::
 
     object
      +-- Finder (deprecated)
-     |    +-- MetaPathFinder
-     |    +-- PathEntryFinder
+     +-- MetaPathFinder
+     +-- PathEntryFinder
      +-- Loader
           +-- ResourceLoader --------+
           +-- InspectLoader          |
@@ -282,8 +282,7 @@ ABC hierarchy::
 
 .. class:: MetaPathFinder
 
-   An abstract base class representing a :term:`meta path finder`. For
-   compatibility, this is a subclass of :class:`Finder`.
+   An abstract base class representing a :term:`meta path finder`.
 
    .. versionadded:: 3.3
 



More information about the Python-checkins mailing list