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

Class ParseError

Lib/xml/etree/ElementTree.py:104–113  ·  view source on GitHub ↗

An error when parsing an XML document. In addition to its exception value, a ParseError contains two extra attributes: 'code' - the specific exception code 'position' - the line and column of the error

Source from the content-addressed store, hash-verified

102
103
104class ParseError(SyntaxError):
105 """An error when parsing an XML document.
106
107 In addition to its exception value, a ParseError contains
108 two extra attributes:
109 'code' - the specific exception code
110 'position' - the line and column of the error
111
112 """
113 pass
114
115# --------------------------------------------------------------------
116

Callers 2

_raiseerrorMethod · 0.70

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…