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

Fixed some inconsistencies in the text about relationships
This commit is contained in:
David Gilbertson 2022-05-03 06:26:35 +10:00 committed by GitHub
parent 9c204b148f
commit 5f45a9d3c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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