Home
last modified time | relevance | path

Searched refs:has_option (Results 1 – 12 of 12) sorted by relevance

/third_party/python/Lib/idlelib/
Dconfig.py58 if not self.has_option(section, option):
89 if self.has_option(section, option):
228 if self.userCfg[configType].has_option(section, option):
239 if self.defaultCfg[configType].has_option(section,option):
343 if not (cfgParser.has_option(themeName, element) or
819 if idleConf.defaultCfg[config_type].has_option(section, item):
/third_party/python/Lib/distutils/
Dconfig.py81 if config.has_option(server, key):
100 if config.has_option(server, 'repository'):
Dfancy_getopt.py99 def has_option(self, long_option): member in FancyGetopt
/third_party/python/Lib/test/
Dtest_optparse.py369 self.assertTrue(self.parser.has_option("-v"))
370 self.assertTrue(self.parser.has_option("--verbose"))
378 self.assertFalse(self.parser.has_option("-v"))
379 self.assertFalse(self.parser.has_option("--verbose"))
380 self.assertFalse(self.parser.has_option("-n"))
381 self.assertFalse(self.parser.has_option("--noisy"))
383 self.assertTrue(self.parser.has_option("-q"))
384 self.assertTrue(self.parser.has_option("--silent"))
Dtest_configparser.py249 self.assertFalse(cf.has_option('Spaces', 'key with spaces'))
254 self.assertFalse(cf.has_option('Foo Bar', 'foo'),
259 self.assertTrue(cf.has_option('Foo Bar', 'this_value'))
262 self.assertFalse(cf.has_option('Foo Bar', 'this_value'))
455 self.assertTrue(cf.has_option("a", "b"))
456 self.assertFalse(cf.has_option("b", "b"))
460 cf.has_option("A", opt),
478 self.assertTrue(cf.has_option("section", "Key"))
/third_party/cef/tools/yapf/yapf/yapflib/
Dstyle.py441 if config.has_option('style', 'based_on_style'):
444 elif config.has_option('yapf', 'based_on_style'):
/third_party/python/Lib/idlelib/idle_test/
Dtest_config.py737 self.assertFalse(usermain.has_option('Indent', 'use-spaces'))
758 self.assertFalse(usermain.has_option('HelpFiles', 'IDLE'))
759 self.assertTrue(usermain.has_option('HelpFiles', 'ELDI'))
/third_party/python/Lib/
Dconfigparser.py878 def has_option(self, section, option): member in RawConfigParser
1257 if not self._parser.has_option(self._name, key):
1266 if not (self._parser.has_option(self._name, key) and
1271 return self._parser.has_option(self._name, key)
Doptparse.py1035 def has_option(self, opt_str): member in OptionContainer
/third_party/python/Doc/library/
Dconfigparser.rst1003 .. method:: has_option(section, option)
Doptparse.rst1397 .. method:: OptionParser.has_option(opt_str)
/third_party/python/Misc/
DHISTORY26472 ConfigParser -- The parser object has new methods has_option,