Searched refs:has_option (Results 1 – 12 of 12) sorted by relevance
/third_party/python/Lib/idlelib/ |
D | config.py | 58 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/ |
D | config.py | 81 if config.has_option(server, key): 100 if config.has_option(server, 'repository'):
|
D | fancy_getopt.py | 99 def has_option(self, long_option): member in FancyGetopt
|
/third_party/python/Lib/test/ |
D | test_optparse.py | 369 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"))
|
D | test_configparser.py | 249 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/ |
D | style.py | 441 if config.has_option('style', 'based_on_style'): 444 elif config.has_option('yapf', 'based_on_style'):
|
/third_party/python/Lib/idlelib/idle_test/ |
D | test_config.py | 737 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/ |
D | configparser.py | 878 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)
|
D | optparse.py | 1035 def has_option(self, opt_str): member in OptionContainer
|
/third_party/python/Doc/library/ |
D | configparser.rst | 1003 .. method:: has_option(section, option)
|
D | optparse.rst | 1397 .. method:: OptionParser.has_option(opt_str)
|
/third_party/python/Misc/ |
D | HISTORY | 26472 ConfigParser -- The parser object has new methods has_option,
|