Home
last modified time | relevance | path

Searched refs:optionxform (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython2/Lib/
DConfigParser.py243 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/
Dconfigparser.py429 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/
Dconfigparser.rst99 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/
Dconfigparser.rst397 [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/
Dtest_configparser.py1119 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/
Dmetadata.py108 config.optionxform = str
/external/python/cpython2/Misc/
DHISTORY2411 processing them with ``ConfigParser.optionxform`` when supplied,
/external/python/cpython3/Misc/
DHISTORY19795 processing them with ``ConfigParser.optionxform`` when supplied,