Home
last modified time | relevance | path

Searched refs:default_section (Results 1 - 2 of 2) sorted by relevance

/third_party/python/Lib/
H A Dconfigparser.py20 empty_lines_in_values=True, default_section='DEFAULT',
52 When `default_section` is given, the name of the special section is
55 value can be retrieved using the ``parser_instance.default_section``
615 default_section=DEFAULTSECT,
623 self._proxies[default_section] = SectionProxy(self, default_section)
640 self.default_section=default_section
670 if section == self.default_section:
864 if section != self.default_section
[all...]
/third_party/python/Lib/test/
H A Dtest_configparser.py45 default_section = configparser.DEFAULTSECT variable in CfgParserTestCaseClass
58 default_section=self.default_section,
102 E.append(self.default_section)
113 eq(cf.defaults(), cf[self.default_section])
244 cf[self.default_section]['this_value'] = '1'
245 cf[self.default_section]['that_value'] = '2'
251 self.assertFalse(cf.remove_section(self.default_section))
261 self.assertTrue(cf.remove_option(self.default_section, 'this_value'))
263 self.assertFalse(cf.remove_option(self.default_section, 'this_valu
1068 default_section = 'general' global() variable in ConfigParserTestCaseNonStandardDefaultSection
1180 default_section = 'common' global() variable in ConfigParserTestCaseExtendedInterpolation
[all...]

Completed in 4 milliseconds