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

Class InvalidWriteError

Lib/configparser.py:377–383  ·  view source on GitHub ↗

Raised when attempting to write data that the parser would read back differently. ex: writing a key which begins with the section header pattern would read back as a new section

Source from the content-addressed store, hash-verified

375 return "<UNNAMED_SECTION>"
376
377class InvalidWriteError(Error):
378 """Raised when attempting to write data that the parser would read back differently.
379 ex: writing a key which begins with the section header pattern would read back as a
380 new section """
381
382 def __init__(self, msg=''):
383 Error.__init__(self, msg)
384
385
386UNNAMED_SECTION = _UnnamedSection()

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…