#NEWLINE# def swig_import_helper( ) : #NEWLINE# #INDENT# from os.path import dirname #NEWLINE# import imp #NEWLINE# fp = None #NEWLINE# try : #NEWLINE# #INDENT# ( fp , pathname , description ) = imp . find_module ( '_quadopt' , [ dirname ( __file__ ) ] ) #NEWLINE# #UNINDENT# except ImportError : #NEWLINE# #INDENT# import _quadopt #NEWLINE# return _quadopt #NEWLINE# #UNINDENT# if ( fp is not None ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# _mod = imp . load_module ( '_quadopt' , fp , pathname , description ) #NEWLINE# #UNINDENT# finally : #NEWLINE# #INDENT# fp . close ( ) #NEWLINE# #UNINDENT# return fp