[Python-checkins] r66793 - python/trunk/Doc/library/functions.rst
georg.brandl
python-checkins at python.org
Sat Oct 4 20:26:02 CEST 2008
Author: georg.brandl
Date: Sat Oct 4 20:26:01 2008
New Revision: 66793
Log:
#4041: don't refer to removed and outdated modules.
Modified:
python/trunk/Doc/library/functions.rst
Modified: python/trunk/Doc/library/functions.rst
==============================================================================
--- python/trunk/Doc/library/functions.rst (original)
+++ python/trunk/Doc/library/functions.rst Sat Oct 4 20:26:01 2008
@@ -24,10 +24,8 @@
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
More information about the Python-checkins
mailing list