#NEWLINE# def parse_special_header( self , linenum , info ) : #NEWLINE# #INDENT# '\n        Parses part of a diff beginning at the specified line number, trying\n        to find a special diff header. This usually occurs before the standard\n        diff header.\n\n        The line number returned is the line after the special header,\n        which can be multiple lines long.\n        ' #NEWLINE# if ( ( ( self + 1 ) < len ( self . lines ) ) and self . lines [ linenum ] . startswith ( b'Index: ' ) and ( self . lines [ ( linenum + 1 ) ] == self . INDEX_SEP ) ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# info [ 'index' ] = self . lines [ linenum ] . split ( None , 1 ) [ 1 ] #NEWLINE# #UNINDENT# except ValueError : #NEWLINE# #INDENT# raise DiffParserError ( 'Malformed Index line' , linenum ) #NEWLINE# #UNINDENT# linenum += 2 #NEWLINE# #UNINDENT# return linenum