#4041: don't refer to removed and outdated modules.

This commit is contained in:
Georg Brandl 2008-10-04 18:26:01 +00:00
parent e6555ddb69
commit 34211e91ef
1 changed files with 2 additions and 4 deletions

View File

@ -24,10 +24,8 @@ available. They are listed here in alphabetical order.
The function is invoked by the :keyword:`import` statement. It mainly exists
so that you can replace it with another function that has a compatible
interface, in order to change the semantics of the :keyword:`import` statement.
For examples of why and how you would do this, see the standard library modules
:mod:`ihooks` and :mod:`rexec`. See also the built-in module :mod:`imp`, which
defines some useful operations out of which you can build your own
:func:`__import__` function.
See the built-in module :mod:`imp`, which defines some useful operations out
of which you can build your own :func:`__import__` function.
For example, the statement ``import spam`` results in the following call:
``__import__('spam', globals(), locals(), [], -1)``; the statement