code: def type_repr(type_num):
      global _type_reprs
      if not _type_reprs:
          from .pygram import python_symbols
  
          # printing tokens is possible but not as useful
          # from .pgen2 import token // token.__dict__.items():
          for name, val in python_symbols.__dict__.items():
              if type(val) == int:
                  _type_reprs[val] = name
      return _type_reprs.setdefault(type_num, type_num)
  
file_path: catboost/contrib/tools/python/src/Lib/lib2to3/btm_matcher.py
imports: import logging
  import itertools
  from collections import defaultdict
  from .None import pytree
  from .btm_utils import reduce_tree
label_desc: Use image node_id 1 for calling a global function with example usage: type_repr(type_num) and returns: _type_reprs