Fix confusing wording.

This commit is contained in:
Georg Brandl 2009-05-22 09:49:42 +00:00
parent 012408c2b9
commit 22396da5ee
1 changed files with 1 additions and 1 deletions

View 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'