Lines Matching refs:optname
1017 optname = None
1049 optname and
1050 cursect[optname] is not None):
1051 cursect[optname].append('') # newlines added at join
1059 if (cursect is not None and optname and
1061 cursect[optname].append(value)
1083 optname = None
1091 optname, vi, optval = mo.group('option', 'vi', 'value')
1092 if not optname:
1094 optname = self.optionxform(optname.rstrip())
1096 (sectname, optname) in elements_added):
1097 raise DuplicateOptionError(sectname, optname,
1099 elements_added.add((sectname, optname))
1104 cursect[optname] = [optval]
1107 cursect[optname] = None