MCPcopy Index your code
hub / github.com/RustPython/RustPython / _raiseerror

Method _raiseerror

Lib/xml/etree/ElementTree.py:1628–1632  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

1626 raise ValueError("unknown event %r" % event_name)
1627
1628 def _raiseerror(self, value):
1629 err = ParseError(value)
1630 err.code = value.code
1631 err.position = value.lineno, value.offset
1632 raise err
1633
1634 def _fixname(self, key):
1635 # expand qname, and convert name string to ascii, if possible

Callers 3

feedMethod · 0.95
closeMethod · 0.95
flushMethod · 0.95

Calls 1

ParseErrorClass · 0.70

Tested by

no test coverage detected