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

Class InterpolationDepthError

Lib/configparser.py:292–302  ·  view source on GitHub ↗

Raised when substitutions are nested too deeply.

Source from the content-addressed store, hash-verified

290
291
292class InterpolationDepthError(InterpolationError):
293 """Raised when substitutions are nested too deeply."""
294
295 def __init__(self, option, section, rawval):
296 msg = ("Recursion limit exceeded in value substitution: option {!r} "
297 "in section {!r} contains an interpolation key which "
298 "cannot be substituted in {} steps. Raw value: {!r}"
299 "".format(option, section, MAX_INTERPOLATION_DEPTH,
300 rawval))
301 InterpolationError.__init__(self, option, section, msg)
302 self.args = (option, section, rawval)
303
304
305class ParsingError(Error):

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…