Searched refs:optionxform (Results 1 – 7 of 7) 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 | 428 var = parser.optionxform(m.group(1)) 495 opt = parser.optionxform(path[0]) 499 opt = parser.optionxform(path[1]) 556 return "%%(%s)s" % parser.optionxform(s) 747 key = self.optionxform(str(key)) 786 option = self.optionxform(option) 852 d[self.optionxform(key)] = value 872 def optionxform(self, optionstr): member in RawConfigParser 880 option = self.optionxform(option) 885 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/Lib/test/ |
D | test_configparser.py | 1115 cf.optionxform = lambda x: x 1161 def fromstring(self, string, defaults=None, optionxform=None): argument 1163 if optionxform: 1164 cf.optionxform = optionxform 1293 cf = self.fromstring(ini, optionxform=lambda opt: opt)
|
/external/python/cpython3/Doc/library/ |
D | configparser.rst | 392 [1]_. E.g. ``for option in parser["section"]`` yields only ``optionxform``'ed 695 .. method:: ConfigParser.optionxform(option) 719 >>> custom.optionxform = lambda option: option 899 :meth:`optionxform` method just like any other option name reference. For 900 example, using the default implementation of :meth:`optionxform` (which 1128 .. method:: optionxform(option) 1142 cfgparser.optionxform = str 1145 names is stripped before :meth:`optionxform` is called.
|
/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,
|