Commit 22396da5 authored by Georg Brandl's avatar Georg Brandl

Fix confusing wording.

parent 012408c2
...@@ -1483,7 +1483,7 @@ available. They are listed here in alphabetical order. ...@@ -1483,7 +1483,7 @@ available. They are listed here in alphabetical order.
names. names.
If you simply want to import a module (potentially within a package) by name, 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 >>> import sys
>>> name = 'foo.bar.baz' >>> name = 'foo.bar.baz'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment