]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-32674: Improve the docstring for __import__ (GH-5339) (GH-5494)
authorMariatta <Mariatta@users.noreply.github.com>
Fri, 2 Feb 2018 16:23:53 +0000 (11:23 -0500)
committerGitHub <noreply@github.com>
Fri, 2 Feb 2018 16:23:53 +0000 (11:23 -0500)
commit9b7b3a64560269188fcb43445becc5aacb4de2dc
tree8023e76e50170528c4442f0e20f713829d409f84
parentb7a2c17be8411bc4c7a2babdc650074c14204aa8
bpo-32674: Improve the docstring for __import__ (GH-5339) (GH-5494)

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..
(cherry picked from commit 461d225b195eec5269f317323b41115516144c41)

Co-authored-by: oldk <oldk1331@users.noreply.github.com>
Python/bltinmodule.c