MCPcopy Create free account
hub / github.com/ActiveState/code / XmlTokenMismatch

Class XmlTokenMismatch

recipes/Python/578138_gprof2dotpy/recipe-578138.py:754–761  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

752
753
754class XmlTokenMismatch(Exception):
755
756 def __init__(self, expected, found):
757 self.expected = expected
758 self.found = found
759
760 def __str__(self):
761 return '%u:%u: %s expected, %s found' % (self.found.line, self.found.column, str(self.expected), str(self.found))
762
763
764class XmlParser(Parser):

Callers 3

element_startMethod · 0.85
element_endMethod · 0.85
parse_rowMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected