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

Class Interpolation

Lib/configparser.py:395–408  ·  view source on GitHub ↗

Dummy interpolation that passes the value through with no changes.

Source from the content-addressed store, hash-verified

393
394
395class Interpolation:
396 """Dummy interpolation that passes the value through with no changes."""
397
398 def before_get(self, parser, section, option, value, defaults):
399 return value
400
401 def before_set(self, parser, section, option, value):
402 return value
403
404 def before_read(self, parser, section, option, value):
405 return value
406
407 def before_write(self, parser, section, option, value):
408 return value
409
410
411class BasicInterpolation(Interpolation):

Callers 8

RawConfigParserClass · 0.85
__init__Method · 0.85
_read_defaultsMethod · 0.85
test_type_reprMethod · 0.85
test_pickle_templateMethod · 0.85

Calls

no outgoing calls

Tested by 5

test_type_reprMethod · 0.68
test_pickle_templateMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…