From: Georg Brandl Date: Sat, 4 Oct 2008 18:26:01 +0000 (+0000) Subject: #4041: don't refer to removed and outdated modules. X-Git-Tag: v2.7a1~2773 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34211e91ef82521b051f4e1ad426f48d950c381b;p=thirdparty%2FPython%2Fcpython.git #4041: don't refer to removed and outdated modules. --- diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 9e97bbe47a61..3ed4ab0b364e 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