From 34211e91ef82521b051f4e1ad426f48d950c381b Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 4 Oct 2008 18:26:01 +0000 Subject: #4041: don't refer to removed and outdated modules. --- Doc/library/functions.rst | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 9e97bbe..3ed4ab0 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -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 -- cgit v0.12