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

Method __init__

Lib/configparser.py:275–281  ·  view source on GitHub ↗
(self, option, section, rawval, reference)

Source from the content-addressed store, hash-verified

273 """A string substitution required a setting which was not available."""
274
275 def __init__(self, option, section, rawval, reference):
276 msg = ("Bad value substitution: option {!r} in section {!r} contains "
277 "an interpolation key {!r} which is not a valid option name. "
278 "Raw value: {!r}".format(option, section, reference, rawval))
279 InterpolationError.__init__(self, option, section, msg)
280 self.reference = reference
281 self.args = (option, section, rawval, reference)
282
283
284class InterpolationSyntaxError(InterpolationError):

Callers

nothing calls this directly

Calls 2

formatMethod · 0.45
__init__Method · 0.45

Tested by

no test coverage detected