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

Class MultilineContinuationError

Lib/configparser.py:351–362  ·  view source on GitHub ↗

Raised when a key without value is followed by continuation line

Source from the content-addressed store, hash-verified

349
350
351class MultilineContinuationError(ParsingError):
352 """Raised when a key without value is followed by continuation line"""
353 def __init__(self, filename, lineno, line):
354 Error.__init__(
355 self,
356 "Key without value continued with an indented line.\n"
357 "file: %r, line: %d\n%r"
358 %(filename, lineno, line))
359 self.source = filename
360 self.lineno = lineno
361 self.line = line
362 self.args = (filename, lineno, line)
363
364
365class UnnamedSectionDisabledError(Error):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…