Home
last modified time | relevance | path

Searched refs:optionxform (Results 1 – 7 of 7) 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.py428 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)
615 self._defaults[self.optionxform(key)] = value
748 key = self.optionxform(str(key))
787 option = self.optionxform(option)
853 d[self.optionxform(key)] = value
873 def optionxform(self, optionstr): member in RawConfigParser
881 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/Lib/test/
Dtest_configparser.py1089 cf.optionxform = lambda x: x
1126 def fromstring(self, string, defaults=None, optionxform=None): argument
1128 if optionxform:
1129 cf.optionxform = optionxform
1258 cf = self.fromstring(ini, optionxform=lambda opt: opt)
/external/python/cpython3/Doc/library/
Dconfigparser.rst384 [1]_. E.g. ``for option in parser["section"]`` yields only ``optionxform``'ed
717 .. method:: optionxform(option)
741 >>> custom.optionxform = lambda option: option
920 :meth:`optionxform` method just like any other option name reference. For
921 example, using the default implementation of :meth:`optionxform` (which
1144 .. method:: optionxform(option)
1158 cfgparser.optionxform = str
1161 names is stripped before :meth:`optionxform` is called.
/external/python/cpython2/Misc/
DHISTORY2411 processing them with ``ConfigParser.optionxform`` when supplied,
/external/python/cpython3/Misc/
DHISTORY19795 processing them with ``ConfigParser.optionxform`` when supplied,