summaryrefslogtreecommitdiffstats
path: root/Lib/test/list_tests.py
diff options
context:
space:
mode:
authorNeil Schemenauer <nas-github@arctrix.com>2017-12-03 17:26:03 (GMT)
committerGitHub <noreply@github.com>2017-12-03 17:26:03 (GMT)
commiteea3cc1ef0dec0af193eedb4c1164263fbdfd8cc (patch)
tree6d956c573644b542bd086f540e0ff3d2896a0141 /Lib/test/list_tests.py
parent078f1814f1a4413a2a0fdb8cf4490ee0fc98ef34 (diff)
downloadcpython-eea3cc1ef0dec0af193eedb4c1164263fbdfd8cc.zip
cpython-eea3cc1ef0dec0af193eedb4c1164263fbdfd8cc.tar.gz
cpython-eea3cc1ef0dec0af193eedb4c1164263fbdfd8cc.tar.bz2
Refactor PyImport_ImportModuleLevelObject(). (#4680)
Add import_find_and_load() helper function. The addition of the importtime option has made PyImport_ImportModuleLevelObject() large and so using a helper seems worthwhile. It also makes it clearer that abs_name is the only argument needed by _find_and_load().
Diffstat (limited to 'Lib/test/list_tests.py')
0 files changed, 0 insertions, 0 deletions