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

Method __init__

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

Source from the content-addressed store, hash-verified

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

nothing calls this directly

Calls 2

formatMethod · 0.45
__init__Method · 0.45

Tested by

no test coverage detected