code: def format_tb(tb, limit=None):
      """A shorthand for 'format_list(extract_tb(tb, limit))'."""
      return extract_tb(tb, limit=limit).format()
  
imports: import collections.abc
  import itertools
  import linecache
  import sys
  import textwrap
  from contextlib import suppress
label_desc: Use image node_id 4 for calling a global function with example usage: format_tb(tb, limit) and returns: extract_tb