Lines Matching full:cursect
474 cursect = None # None, or a dictionary
490 if line[0].isspace() and cursect is not None and optname:
493 cursect[optname].append(value)
501 cursect = self._sections[sectname]
503 cursect = self._defaults
505 cursect = self._dict()
506 cursect['__name__'] = sectname
507 self._sections[sectname] = cursect
511 elif cursect is None:
532 cursect[optname] = [optval]
535 cursect[optname] = optval