#NEWLINE# def set_fname( self , fname ) : #NEWLINE# #INDENT# 'Set the field name.' #NEWLINE# path_list = re . split ( '[.[]' , fname ) #NEWLINE# self . base_name = path_list [ 0 ] #NEWLINE# self . fname = fname #NEWLINE# self . subpath = fname [ 1 : ] #NEWLINE# self . is_positional = ( ( not self . base_name ) or self . base_name . isdigit ( ) )