MCPcopy
hub / github.com/django/django / error

Method error

django/test/html.py:211–212  ·  view source on GitHub ↗
(self, msg)

Source from the content-addressed store, hash-verified

209 self.element_positions = {}
210
211 def error(self, msg):
212 raise HTMLParseError(msg, self.getpos())
213
214 def format_position(self, position=None, element=None):
215 if not position and element:

Callers

nothing calls this directly

Calls 1

HTMLParseErrorClass · 0.85