#NEWLINE# def _load_package( packagename , basename , searchpath ) : #NEWLINE# #INDENT# ( fo , _file , desc ) = imp . find_module ( packagename , searchpath ) #NEWLINE# if basename : #NEWLINE# #INDENT# fullname = '{}.{}' . format ( basename , packagename ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# fullname = packagename #NEWLINE# #UNINDENT# return imp . load_module ( fullname , fo , _file , desc )