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

Method fail

Tools/clinic/libclinic/cpp.py:67–68  ·  view source on GitHub ↗
(self, msg: str)

Source from the content-addressed store, hash-verified

65 return " && ".join(condition for token, condition in self.stack)
66
67 def fail(self, msg: str) -> NoReturn:
68 raise ParseError(msg, filename=self.filename, lineno=self.line_number)
69
70 def writeline(self, line: str) -> None:
71 self.line_number += 1

Callers 2

pop_stackMethod · 0.95
writelineMethod · 0.95

Calls 1

ParseErrorClass · 0.70

Tested by

no test coverage detected