#NEWLINE# def emit_c_code( self , filename ) : #NEWLINE# #INDENT# from . recompiler import recompile #NEWLINE# if ( not hasattr ( self , '_assigned_source' ) ) : #NEWLINE# #INDENT# raise ValueError ( 'set_source() must be called before emit_c_code()' ) #NEWLINE# #UNINDENT# ( module_name , source , source_extension , kwds ) = self . _assigned_source #NEWLINE# if ( source is None ) : #NEWLINE# #INDENT# raise TypeError ( 'emit_c_code() is only for C extension modules, not for dlopen()-style pure Python modules' ) #NEWLINE# #UNINDENT# recompile ( self , filename , source , c_file = filename , call_c_compiler = False , ** kwds )