From: Brett Cannon Date: Wed, 1 Apr 2009 23:36:48 +0000 (+0000) Subject: Explain a little about the explanation. X-Git-Tag: v3.1a2~85 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bc6c2b5c6b8f606e4c41c1548c2910da56a7b09c;p=python Explain a little about the explanation. --- diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst index c768ebe1e4..8c103774b6 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."""