Lines Matching defs:defaults

7 Intrinsic defaults can be specified by passing them into the
17 __init__(defaults=None, dict_type=_default_dict, allow_no_value=False,
23 Create the parser. When `defaults` is given, it is initialized into the
24 dictionary or intrinsic defaults. The keys must be strings, the values
90 The filename defaults to f.name; it is only used in error
105 expanded in the return values, based on the defaults passed into the
108 contents override any pre-existing defaults. If `option` is a key in
364 def before_get(self, parser, section, option, value, defaults):
394 def before_get(self, parser, section, option, value, defaults):
396 self._interpolate_some(parser, option, L, value, section, defaults, 1)
455 def before_get(self, parser, section, option, value, defaults):
457 self._interpolate_some(parser, option, L, value, section, defaults, 1)
611 def __init__(self, defaults=None, dict_type=_default_dict,
653 if defaults:
654 self._read_defaults(defaults)
656 def defaults(self):
851 defaults passed into the constructor, unless the optional argument
854 any pre-existing defaults.
1135 defaults = self.default_section, self._defaults
1136 all_sections = itertools.chain((defaults,),
1146 def _read_defaults(self, defaults):
1147 """Read the defaults passed in the initializer.
1149 for key, value in defaults.items():
1229 def _read_defaults(self, defaults):
1230 """Reads the defaults passed in the initializer, implicitly converting
1238 self.read_dict({self.default_section: defaults})
1298 return self._parser.defaults()