code: def pretty_flags(flags):
      """Return pretty representation of code flags."""
      names = []
      for i in range(32):
          flag = 1 << i
          if flags & flag:
              names.append(COMPILER_FLAG_NAMES.get(flag, hex(flag)))
              flags ^= flag
              if not flags:
                  break
      else:
          names.append(hex(flags))
      return ", ".join(names)
  
imports: import sys
  import types
  import collections
  import io
  from opcode import *
  from opcode import __all__, _cache_format, _inline_cache_entries, _nb_ops, _intrinsic_1_descs, _intrinsic_2_descs, _specializations, _specialized_opmap
label_desc: Use image node_id 4 for calling a global function with example usage: pretty_flags(flags) and returns: str