SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72150 0 52 Python

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().
N
Neil Schemenauer committed
eea3cc1ef0dec0af193eedb4c1164263fbdfd8cc
Parent: 078f181
Committed by GitHub <noreply@github.com> on 12/3/2017, 5:26:03 PM