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

Method catch_errors

mypyc/irbuild/builder.py:1568–1569  ·  view source on GitHub ↗
(self, line: int)

Source from the content-addressed store, hash-verified

1566
1567 # Lacks a good type because there wasn't a reasonable type in 3.5 :(
1568 def catch_errors(self, line: int) -> Any:
1569 return catch_errors(self.module_path, line)
1570
1571 def warning(self, msg: str, line: int) -> None:
1572 self.errors.warning(msg, self.module_path, line)

Callers 2

acceptMethod · 0.95
transform_class_defFunction · 0.80

Calls 1

catch_errorsFunction · 0.90

Tested by

no test coverage detected