diff options
| author | Neil Schemenauer <nas-github@arctrix.com> | 2017-12-03 17:26:03 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-12-03 17:26:03 (GMT) |
| commit | eea3cc1ef0dec0af193eedb4c1164263fbdfd8cc (patch) | |
| tree | 6d956c573644b542bd086f540e0ff3d2896a0141 /Python/fileutils.c | |
| parent | 078f1814f1a4413a2a0fdb8cf4490ee0fc98ef34 (diff) | |
| download | cpython-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 'Python/fileutils.c')
0 files changed, 0 insertions, 0 deletions
