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

Method print_exception_table

Lib/dis.py:544–553  ·  view source on GitHub ↗
(self, exception_entries)

Source from the content-addressed store, hash-verified

542 print(' '.join(fields).rstrip(), file=self.file)
543
544 def print_exception_table(self, exception_entries):
545 file = self.file
546 if exception_entries:
547 print("ExceptionTable:", file=file)
548 for entry in exception_entries:
549 lasti = " lasti" if entry.lasti else ""
550 start = entry.start_label
551 end = entry.end_label
552 target = entry.target_label
553 print(f" L{start} to L{end} -> L{target} [{entry.depth}]{lasti}", file=file)
554
555
556class ArgResolver:

Callers 1

print_instructionsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected