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

Method before_get

Lib/configparser.py:489–492  ·  view source on GitHub ↗
(self, parser, section, option, value, defaults)

Source from the content-addressed store, hash-verified

487 _KEYCRE = re.compile(r"\$\{([^}]+)\}")
488
489 def before_get(self, parser, section, option, value, defaults):
490 L = []
491 self._interpolate_some(parser, option, L, value, section, defaults, 1)
492 return ''.join(L)
493
494 def before_set(self, parser, section, option, value):
495 tmp_value = value.replace('$$', '') # escaped dollar signs

Callers

nothing calls this directly

Calls 2

_interpolate_someMethod · 0.95
joinMethod · 0.45

Tested by

no test coverage detected