mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Fix markup for arguments in importlib docs.
This commit is contained in:
parent
44bf631ad9
commit
33418c8feb
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue