summaryrefslogtreecommitdiffstats
path: root/Doc/library/importlib.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/importlib.rst')
-rw-r--r--Doc/library/importlib.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst
index c768ebe..8c10377 100644
--- a/Doc/library/importlib.rst
+++ b/Doc/library/importlib.rst
@@ -388,6 +388,11 @@ an :term:`importer`.
Example
-------
+Below is an example meta path importer that uses a dict for back-end storage
+for source code. While not an optimal solution -- manipulations of
+:attr:`__path__` on packages does not influence import -- it does illustrate
+what little is required to implement an importer.
+
.. testcode::
"""An importer where source is stored in a dict."""