code: def numeric_type_aliases(aliases):
      def type_aliases_gen():
          for alias, doc in aliases:
              try:
                  alias_type = getattr(_numerictypes, alias)
              except AttributeError:
                  # The set of aliases that actually exist varies between platforms
                  pass
              else:
                  yield (alias_type, alias, doc)
  
      return list(type_aliases_gen())
  
file_path: numpy/numpy/_core/_add_newdocs_scalars.py
imports: import sys
  import os
  from numpy._core import dtype
  from numpy._core import numerictypes
  from numpy._core.function_base import add_newdoc
label_desc: Use image node_id 1 for calling a global function with example usage: numeric_type_aliases(aliases) and returns: list