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

Method format_frame_summary

Lib/test/test_traceback.py:3478–3481  ·  view source on GitHub ↗
(self, frame_summary, colorize=False)

Source from the content-addressed store, hash-verified

3476
3477 class Skip_G(traceback.StackSummary):
3478 def format_frame_summary(self, frame_summary, colorize=False):
3479 if frame_summary.name == 'g':
3480 return None
3481 return super().format_frame_summary(frame_summary)
3482
3483 stack = Skip_G.extract(
3484 traceback.walk_tb(tb)).format()

Callers 1

Calls 1

superClass · 0.85

Tested by

no test coverage detected