MCPcopy Index your code
hub / github.com/python/cpython / _read_defaults

Method _read_defaults

Lib/configparser.py:1187–1191  ·  view source on GitHub ↗

Read the defaults passed in the initializer. Note: values can be non-string.

(self, defaults)

Source from the content-addressed store, hash-verified

1185 name, val)
1186
1187 def _read_defaults(self, defaults):
1188 """Read the defaults passed in the initializer.
1189 Note: values can be non-string."""
1190 for key, value in defaults.items():
1191 self._defaults[self.optionxform(key)] = value
1192
1193 def _unify_values(self, section, vars):
1194 """Create a sequence of lookups with 'vars' taking priority over

Callers 1

__init__Method · 0.95

Calls 2

optionxformMethod · 0.95
itemsMethod · 0.45

Tested by

no test coverage detected