Home
last modified time | relevance | path

Searched refs:remove_option (Results 1 – 21 of 21) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_optparse.py386 self.parser.remove_option("-n")
390 self.parser.remove_option("--verbose")
394 self.assertRaises(self.parser.remove_option, ('foo',), None,
502 self.parser.remove_option("-y")
554 parser.remove_option("-h")
555 parser.remove_option("--version")
1134 parser.remove_option("-h")
Dtest_configparser.py249 self.assertTrue(cf.remove_option('Foo Bar', 'foo'),
253 self.assertFalse(cf.remove_option('Foo Bar', 'foo'),
257 self.assertFalse(cf.remove_option('Foo Bar', 'this_value'))
258 self.assertTrue(cf.remove_option(self.default_section, 'this_value'))
260 self.assertFalse(cf.remove_option(self.default_section, 'this_value'))
263 cf.remove_option('No Such Section', 'foo')
456 cf.remove_option("a", "B")
1927 config.remove_option('Section1', 'an_int')
/external/python/cpython2/Lib/test/
Dtest_optparse.py375 self.parser.remove_option("-n")
379 self.parser.remove_option("--verbose")
383 self.assertRaises(self.parser.remove_option, ('foo',), None,
497 self.parser.remove_option("-y")
549 parser.remove_option("-h")
550 parser.remove_option("--version")
1136 parser.remove_option("-h")
Dtest_cfgparser.py109 self.assertTrue(cf.remove_option('Foo Bar', 'foo'),
113 self.assertFalse(cf.remove_option('Foo Bar', 'foo'),
118 cf.remove_option, 'No Such Section', 'foo')
143 cf.remove_option("a", "B")
/external/python/setuptools/setuptools/command/
Dsetopt.py58 opts.remove_option(section, option)
/external/autotest/client/common_lib/cros/
Davahi_utils.py50 conf.remove_option(section, option)
/external/autotest/client/bin/
Dtest_config.py98 self.parser.remove_option(section, option)
/external/autotest/cli/
Dacl.py147 self.parser.remove_option('--alist')
/external/python/cpython2/Doc/library/
Dconfigparser.rst356 .. method:: RawConfigParser.remove_option(section, option)
510 config.remove_option('Section1', 'bar')
511 config.remove_option('Section1', 'baz')
524 config.remove_option(section1, option)
Doptparse.rst1404 .. method:: OptionParser.remove_option(opt_str)
/external/python/cpython3/Lib/
Dconfigparser.py933 def remove_option(self, section, option): member in RawConfigParser
1260 self._parser.remove_option(self._name, key)):
Doptparse.py1039 def remove_option(self, opt_str): member in OptionContainer
/external/python/cpython2/Lib/idlelib/
DconfigHandler.py100 return self.remove_option(section, option)
/external/python/cpython2/Lib/
DConfigParser.py416 def remove_option(self, section, option): member in RawConfigParser
Doptparse.py1052 def remove_option(self, opt_str): member in OptionContainer
/external/python/cpython3/Lib/idlelib/
Dconfig.py108 return self.remove_option(section, option)
/external/autotest/frontend/afe/
Dmoblab_rpc_interface.py164 existing_shadow.remove_option(section, key)
/external/python/cpython3/Doc/library/
Dconfigparser.rst854 config.remove_option('Section1', 'bar')
855 config.remove_option('Section1', 'baz')
1114 .. method:: remove_option(section, option)
Doptparse.rst1402 .. method:: OptionParser.remove_option(opt_str)
/external/python/cpython2/Misc/
DHISTORY9094 remove_section, remove_option, set, and write. They allow the module
/external/python/cpython3/Misc/
DHISTORY26473 remove_section, remove_option, set, and write. They allow the module