code: def walk_tb(tb):
      """Walk a traceback yielding the frame and line number for each frame.
  
      This will follow tb.tb_next (and thus is in the opposite order to
      walk_stack). Usually used with StackSummary.extract.
      """
      while tb is not None:
          yield tb.tb_frame, tb.tb_lineno
          tb = tb.tb_next
  
imports: import collections.abc
  import itertools
  import linecache
  import sys
  import textwrap
  from contextlib import suppress
label_desc: Use image node_id 20 for calling a global function with example usage: walk_tb(tb) without return types