]> granicus.if.org Git - python/commitdiff
Fix confusing wording.
authorGeorg Brandl <georg@python.org>
Fri, 22 May 2009 09:49:42 +0000 (09:49 +0000)
committerGeorg Brandl <georg@python.org>
Fri, 22 May 2009 09:49:42 +0000 (09:49 +0000)
Doc/library/functions.rst

index e47b392885a9b8025d472c6d79c465c1444797a8..a91b099c7cda058b181502201cc45bd7d995604f 100644 (file)
@@ -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'