MCPcopy Index your code
hub / github.com/python/mypy / fail_arg

Method fail_arg

mypy/fastparse.py:1157–1158  ·  view source on GitHub ↗
(self, msg: str, arg: ast3.arg)

Source from the content-addressed store, hash-verified

1155 return argument
1156
1157 def fail_arg(self, msg: str, arg: ast3.arg) -> None:
1158 self.fail(ErrorMessage(msg), arg.lineno, arg.col_offset, blocker=True)
1159
1160 # ClassDef(identifier name,
1161 # expr* bases,

Callers

nothing calls this directly

Calls 2

failMethod · 0.95
ErrorMessageClass · 0.90

Tested by

no test coverage detected