#NEWLINE# def __str__( self ) : #NEWLINE# #INDENT# source = ( '--- %s\n' % self . source_file ) #NEWLINE# target = ( '+++ %s\n' % self . target_file ) #NEWLINE# hunks = '\n' . join ( ( unicode ( hunk ) for hunk in self ) ) #NEWLINE# return ( ( source + target ) + hunks )