#NEWLINE# def _convert_2to3( path ) : #NEWLINE# #INDENT# '\n    Convert the given file, and return the path to the converted files.\n\n    ' #NEWLINE# ( base , ext ) = os . path . splitext ( path ) #NEWLINE# new_path = ( '%s.temp2to3%s' % ( base , ext ) ) #NEWLINE# copyfile ( path , new_path ) #NEWLINE# args = [ '--doctests_only' , '--no-diffs' , '--write' , '--nobackups' , ext ] #NEWLINE# lib2to3main ( 'lib2to3.fixes' , args = args ) #NEWLINE# return new_path