commit | 22396da5eebd5ea8b97ccc09443db4a484974a90 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Fri May 22 09:49:42 2009 +0000 |
committer | Georg Brandl <georg@python.org> | Fri May 22 09:49:42 2009 +0000 |
tree | 81d0d8acc87e79ac56660d1b1988a64c3be9f940 | |
parent | 012408c2b9b4d22a16d532f95018dbb78eba233c [diff] [blame] |
Fix confusing wording.
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index e47b392..a91b099 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst
@@ -1483,7 +1483,7 @@ 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'