Lines Matching refs:optname
1011 optname = None
1043 optname and
1044 cursect[optname] is not None):
1045 cursect[optname].append('') # newlines added at join
1053 if (cursect is not None and optname and
1055 cursect[optname].append(value)
1077 optname = None
1085 optname, vi, optval = mo.group('option', 'vi', 'value')
1086 if not optname:
1088 optname = self.optionxform(optname.rstrip())
1090 (sectname, optname) in elements_added):
1091 raise DuplicateOptionError(sectname, optname,
1093 elements_added.add((sectname, optname))
1098 cursect[optname] = [optval]
1101 cursect[optname] = None