code: def get_extra_flags(
      compiler_flags: str, compiler_py_flags_nodist: str
  ) -> List[str]:
      flags = sysconfig.get_config_var(compiler_flags)
      py_flags_nodist = sysconfig.get_config_var(
          compiler_py_flags_nodist
      )
      if flags is None or py_flags_nodist is None:
          return []
      return f"{flags} {py_flags_nodist}".split()
  
imports: import itertools
  import logging
  import os
  import pathlib
  import sys
  import sysconfig
  import tempfile
  import tokenize
  from typing import IO, Any, Dict, List, Optional, Set, Tuple
  from pegen.c_generator import CParserGenerator
  from pegen.grammar import Grammar
  from pegen.grammar_parser import GeneratedParser
  from pegen.parser import Parser
  from pegen.parser_generator import ParserGenerator
  from pegen.python_generator import PythonParserGenerator
  from pegen.tokenizer import Tokenizer
label_desc: Use image node_id 1 for calling a global function with example usage: get_extra_flags(compiler_flags, compiler_py_flags_nodist) and returns: flags, str, py_flags_nodist, list