summaryrefslogtreecommitdiffstats
path: root/Lib/ihooks.py
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2001-01-23 15:35:05 (GMT)
committerSkip Montanaro <skip@pobox.com>2001-01-23 15:35:05 (GMT)
commit2dd4276559658e06eaf8b623c2c47373f1f50688 (patch)
tree22d257d3db8d9db2380a85608e4bf9a66f9b2df4 /Lib/ihooks.py
parent26e94a8822ba6935a74db098de134cc20fd4db2f (diff)
downloadcpython-2dd4276559658e06eaf8b623c2c47373f1f50688.zip
cpython-2dd4276559658e06eaf8b623c2c47373f1f50688.tar.gz
cpython-2dd4276559658e06eaf8b623c2c47373f1f50688.tar.bz2
added a few more __all__ lists
fixed typo in ihooks docstring
Diffstat (limited to 'Lib/ihooks.py')
-rw-r--r--Lib/ihooks.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/ihooks.py b/Lib/ihooks.py
index 62760cb..9e1e8842 100644
--- a/Lib/ihooks.py
+++ b/Lib/ihooks.py
@@ -42,7 +42,7 @@ instantiated).
The classes defined here should be used as base classes for extended
functionality along those lines.
-If a module mporter class supports dotted names, its import_module()
+If a module importer class supports dotted names, its import_module()
must return a different value depending on whether it is called on
behalf of a "from ... import ..." statement or not. (This is caused
by the way the __import__ hook is used by the Python interpreter.) It
@@ -57,6 +57,8 @@ import os
import sys
import string
+__all__ = ["BasicModuleLoader","Hooks","ModuleLoader","FancyModuleLoader",
+ "BasicModuleImporter","ModuleImporter","install","uninstall"]
VERBOSE = 0