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

Method before_get

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

Source from the content-addressed store, hash-verified

426 _KEYCRE = re.compile(r"%\(([^)]+)\)s")
427
428 def before_get(self, parser, section, option, value, defaults):
429 L = []
430 self._interpolate_some(parser, option, L, value, section, defaults, 1)
431 return ''.join(L)
432
433 def before_set(self, parser, section, option, value):
434 tmp_value = value.replace('%%', '') # escaped percent signs

Callers

nothing calls this directly

Calls 2

_interpolate_someMethod · 0.95
joinMethod · 0.45

Tested by

no test coverage detected