From 22396da5eebd5ea8b97ccc09443db4a484974a90 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Fri, 22 May 2009 09:49:42 +0000 Subject: [PATCH] Fix confusing wording. --- Doc/library/functions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index e47b392885a..a91b099c7cd 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -1483,7 +1483,7 @@ available. They are listed here in alphabetical order. names. If you simply want to import a module (potentially within a package) by name, - you can get it from :data:`sys.modules`:: + you can use :func:`__import__` and then look it up in :data:`sys.modules`:: >>> import sys >>> name = 'foo.bar.baz'