]> granicus.if.org Git - python/commit
bpo-32674: Improve the docstring for __import__ (GH-5339)
authoroldk <oldk1331@users.noreply.github.com>
Fri, 2 Feb 2018 04:20:00 +0000 (12:20 +0800)
committerMariatta <Mariatta@users.noreply.github.com>
Fri, 2 Feb 2018 04:20:00 +0000 (23:20 -0500)
commit461d225b195eec5269f317323b41115516144c41
treed1c1e71798eae33434965d42c4864e7ab7df0283
parent55e0839f2672e029c2b96514028c77c31ffbe41f
bpo-32674: Improve the docstring for __import__ (GH-5339)

Clarify that the level argument is used to determine whether to
perform absolute or relative imports: 0 is absolute, while a positive number
is the number of parent directories to search relative to the current module.
Python/bltinmodule.c