[Python-checkins] r72616 - python/trunk/Doc/reference/simple_stmts.rst

benjamin.peterson python-checkins at python.org
Thu May 14 02:33:10 CEST 2009


Author: benjamin.peterson
Date: Thu May 14 02:33:10 2009
New Revision: 72616
Log:
importlib.import_module is better these days
Modified:
 python/trunk/Doc/reference/simple_stmts.rst
Modified: python/trunk/Doc/reference/simple_stmts.rst
==============================================================================
--- python/trunk/Doc/reference/simple_stmts.rst	(original)
+++ python/trunk/Doc/reference/simple_stmts.rst	Thu May 14 02:33:10 2009
@@ -825,12 +825,8 @@
 imprt mod`` from within ``pkg.subpkg1`` you will import ``pkg.subpkg2.mod``.
 The specification for relative imports is contained within :pep:`328`.
 
-
-.. index:: builtin: __import__
-
-The built-in function :func:`__import__` is provided to support applications
-that determine which modules need to be loaded dynamically; refer to
-:ref:`built-in-funcs` for additional information.
+:func:`importlib.import_module` is provided to support applications that
+determine which modules need to be loaded dynamically.
 
 
 .. _future:


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /