Commit 33418c8f authored by Brett Cannon's avatar Brett Cannon

Fix markup for arguments in importlib docs.

parent 44bf631a
...@@ -68,10 +68,10 @@ Functions ...@@ -68,10 +68,10 @@ Functions
.. function:: import_module(name, package=None) .. function:: import_module(name, package=None)
Import a module. The ``name`` argument specifies what module to Import a module. The *name* argument specifies what module to
import in absolute or relative terms import in absolute or relative terms
(e.g. either ``pkg.mod`` or ``..mod``). If the name is (e.g. either ``pkg.mod`` or ``..mod``). If the name is
specified in relative terms, then the ``package`` argument must be specified in relative terms, then the *package* argument must be
specified to the package which is to act as the anchor for resolving the specified to the package which is to act as the anchor for resolving the
package name (e.g. ``import_module('..mod', 'pkg.subpkg')`` will import package name (e.g. ``import_module('..mod', 'pkg.subpkg')`` will import
``pkg.mod``). The specified module will be inserted into ``pkg.mod``). The specified module will be inserted into
......
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