Explain a little about the explanation.
This commit is contained in:
parent
9f4cb1c89d
commit
bc6c2b5c6b
|
@ -388,6 +388,11 @@ an :term:`importer`.
|
||||||
Example
|
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::
|
.. testcode::
|
||||||
|
|
||||||
"""An importer where source is stored in a dict."""
|
"""An importer where source is stored in a dict."""
|
||||||
|
|
Loading…
Reference in New Issue