From: Georg Brandl Date: Fri, 22 May 2009 09:49:42 +0000 (+0000) Subject: Fix confusing wording. X-Git-Tag: v2.7a1~1131 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22396da5eebd5ea8b97ccc09443db4a484974a90;p=thirdparty%2FPython%2Fcpython.git Fix confusing wording. --- diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index e47b392885a9..a91b099c7cda 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'