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

Class TracebackAndGotoHandler

mypyc/codegen/emit.py:184–193  ·  view source on GitHub ↗

Add traceback item and goto label on error.

Source from the content-addressed store, hash-verified

182
183
184class TracebackAndGotoHandler(ErrorHandler):
185 """Add traceback item and goto label on error."""
186
187 def __init__(
188 self, label: str, source_path: str, module_name: str, traceback_entry: tuple[str, int]
189 ) -> None:
190 self.label = label
191 self.source_path = source_path
192 self.module_name = module_name
193 self.traceback_entry = traceback_entry
194
195
196class ReturnHandler(ErrorHandler):

Callers 1

visit_castMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…