Searched refs:optionxform (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython2/Lib/ |
D | ConfigParser.py | 243 self._defaults[self.optionxform(key)] = value 327 opt = self.optionxform(option) 373 def optionxform(self, optionstr): member in RawConfigParser 379 option = self.optionxform(option) 384 option = self.optionxform(option) 397 sectdict[self.optionxform(option)] = value 425 option = self.optionxform(option) 518 optname = self.optionxform(optname.rstrip()) 612 vardict[self.optionxform(key)] = value 614 option = self.optionxform(option) [all …]
|
/external/python/cpython3/Lib/ |
D | configparser.py | 429 var = parser.optionxform(m.group(1)) 496 opt = parser.optionxform(path[0]) 500 opt = parser.optionxform(path[1]) 557 return "%%(%s)s" % parser.optionxform(s) 748 key = self.optionxform(str(key)) 787 option = self.optionxform(option) 854 d[self.optionxform(key)] = value 874 def optionxform(self, optionstr): member in RawConfigParser 882 option = self.optionxform(option) 887 option = self.optionxform(option) [all …]
|
/external/python/cpython2/Doc/library/ |
D | configparser.rst | 99 All option names are passed through the :meth:`optionxform` method. Its 122 :meth:`optionxform` method just like any other option name reference. Using 123 the default implementation of :meth:`optionxform`, the values ``foo %(bar)s`` 371 .. method:: RawConfigParser.optionxform(option) 386 cfgparser.optionxform = str 389 option names are stripped before :meth:`optionxform` is called.
|
/external/python/cpython3/Doc/library/ |
D | configparser.rst | 397 [1]_. E.g. ``for option in parser["section"]`` yields only ``optionxform``'ed 698 .. method:: ConfigParser.optionxform(option) 723 >>> custom.optionxform = lambda option: option 731 The optionxform function transforms option names to a canonical form. 909 :meth:`optionxform` method just like any other option name reference. For 910 example, using the default implementation of :meth:`optionxform` (which 1147 .. method:: optionxform(option) 1161 cfgparser.optionxform = str 1164 names is stripped before :meth:`optionxform` is called.
|
/external/python/cpython3/Lib/test/ |
D | test_configparser.py | 1119 cf.optionxform = lambda x: x 1165 def fromstring(self, string, defaults=None, optionxform=None): argument 1167 if optionxform: 1168 cf.optionxform = optionxform 1297 cf = self.fromstring(ini, optionxform=lambda opt: opt)
|
/external/python/cpython3/Lib/importlib/ |
D | metadata.py | 108 config.optionxform = str
|
/external/python/cpython2/Misc/ |
D | HISTORY | 2411 processing them with ``ConfigParser.optionxform`` when supplied,
|
/external/python/cpython3/Misc/ |
D | HISTORY | 19795 processing them with ``ConfigParser.optionxform`` when supplied,
|