[Python-checkins] r71007 - python/branches/py3k/Doc/library/importlib.rst
brett.cannon
python-checkins at python.org
Thu Apr 2 01:36:48 CEST 2009
Author: brett.cannon
Date: Thu Apr 2 01:36:48 2009
New Revision: 71007
Log:
Explain a little about the explanation.
Modified:
python/branches/py3k/Doc/library/importlib.rst
Modified: python/branches/py3k/Doc/library/importlib.rst
==============================================================================
--- python/branches/py3k/Doc/library/importlib.rst (original)
+++ python/branches/py3k/Doc/library/importlib.rst Thu Apr 2 01:36:48 2009
@@ -388,6 +388,11 @@
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."""
More information about the Python-checkins
mailing list