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

Method __init__

Lib/configparser.py:340–348  ·  view source on GitHub ↗
(self, filename, lineno, line)

Source from the content-addressed store, hash-verified

338 """Raised when a key-value pair is found before any section header."""
339
340 def __init__(self, filename, lineno, line):
341 Error.__init__(
342 self,
343 'File contains no section headers.\nfile: %r, line: %d\n%r' %
344 (filename, lineno, line))
345 self.source = filename
346 self.lineno = lineno
347 self.line = line
348 self.args = (filename, lineno, line)
349
350
351class MultilineContinuationError(ParsingError):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected