Staging
v0.5.1
https://github.com/python/cpython
Revision f61951b10cc08d3926a3ebaacc154d4149150ef4 authored by Miss Islington (bot) on 02 February 2018, 13:32:19 UTC, committed by Mariatta on 02 February 2018, 13:32:19 UTC
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>
1 parent 3a04c52
History
Tip revision: f61951b10cc08d3926a3ebaacc154d4149150ef4 authored by Miss Islington (bot) on 02 February 2018, 13:32:19 UTC
bpo-32674: Improve the docstring for __import__ (GH-5339) (GH-5489)
Tip revision: f61951b
File Mode Size
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
.bzrignore -rw-r--r-- 582 bytes
.gitattributes -rw-r--r-- 798 bytes
.gitignore -rw-r--r-- 1.3 KB
.hgeol -rw-r--r-- 1.0 KB
.hgignore -rw-r--r-- 1.3 KB
.hgtags -rw-r--r-- 8.7 KB
.travis.yml -rw-r--r-- 5.0 KB
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 59.7 KB
README.rst -rw-r--r-- 9.1 KB
aclocal.m4 -rw-r--r-- 13.0 KB
config.guess -rwxr-xr-x 43.2 KB
config.sub -rwxr-xr-x 35.7 KB
configure -rwxr-xr-x 478.4 KB
configure.ac -rw-r--r-- 159.0 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 41.2 KB
setup.py -rw-r--r-- 102.0 KB

README.rst

back to top