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

Class InterpolationMissingOptionError

Lib/configparser.py:272–281  ·  view source on GitHub ↗

A string substitution required a setting which was not available.

Source from the content-addressed store, hash-verified

270
271
272class InterpolationMissingOptionError(InterpolationError):
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 2

_interpolate_someMethod · 0.85
_interpolate_someMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…