#NEWLINE# @ csv . DictReader . fieldnames . getter #NEWLINE# def fieldnames( self ) : #NEWLINE# #INDENT# if ( self . _fieldnames is None ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# self . _fieldnames = self . reader . next ( ) #NEWLINE# #UNINDENT# except StopIteration : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# self . line_num = self . reader . line_num #NEWLINE# self . __mv_fieldnames = [ ] #NEWLINE# self . __fieldnames = [ ] #NEWLINE# for name in self . _fieldnames : #NEWLINE# #INDENT# if name . startswith ( '__mv_' ) : #NEWLINE# #INDENT# self . __mv_fieldnames . append ( ( name [ len ( '__mv_' ) : ] , name ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . __fieldnames . append ( name ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return self . __fieldnames