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

Method __init__

Lib/configparser.py:308–314  ·  view source on GitHub ↗
(self, source, *args)

Source from the content-addressed store, hash-verified

306 """Raised when a configuration file does not follow legal syntax."""
307
308 def __init__(self, source, *args):
309 super().__init__(f'Source contains parsing errors: {source!r}')
310 self.source = source
311 self.errors = []
312 self.args = (source, )
313 if args:
314 self.append(*args)
315
316 def append(self, lineno, line):
317 self.errors.append((lineno, line))

Callers

nothing calls this directly

Calls 3

appendMethod · 0.95
superClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected