code: def get_python_inc(plat_specific=0, prefix=None):
      """Return the directory containing installed Python header files.
  
      If 'plat_specific' is false (the default), this is the path to the
      non-platform-specific header files, i.e. Python.h and so on;
      otherwise, this is the path to platform-specific header files
      (namely pyconfig.h).
  
      If 'prefix' is supplied, use it instead of sys.base_prefix or
      sys.base_exec_prefix -- i.e., ignore 'plat_specific'.
      """
      default_prefix = (
          BASE_EXEC_PREFIX if plat_specific else BASE_PREFIX
      )
      resolved_prefix = prefix if prefix is not None else default_prefix
      try:
          getter = globals()[f"_get_python_inc_{os.name}"]
      except KeyError:
          raise DistutilsPlatformError(
              "I don't know where Python installs its C header files "
              "on platform '%s'" % os.name
          )
      return getter(resolved_prefix, prefix, plat_specific)
  
imports: import os
  import re
  import sys
  import sysconfig
  import pathlib
  from .errors import DistutilsPlatformError
  from .None import py39compat
  from ._functools import pass_none
label_desc: Use image node_id 5 for calling a global function with example usage: get_python_inc(plat_specific, prefix) and returns: getter