code: def _generic_abi() -> List[str]:
      """
      Return the ABI tag based on EXT_SUFFIX.
      """
      # The following are examples of `EXT_SUFFIX`.
      # We want to keep the parts which are related to the ABI and remove the
      # parts which are related to the platform:
      # - linux:   '.cpython-310-x86_64-linux-gnu.so' => cp310
      # - mac:     '.cpython-310-darwin.so'           => cp310
      # - win:     '.cp310-win_amd64.pyd'             => cp310
      # - win:     '.pyd'                             => cp37 (uses _cpython_abis())
      # - pypy:    '.pypy38-pp73-x86_64-linux-gnu.so' => pypy38_pp73
      # - graalpy: '.graalpy-38-native-x86_64-darwin.dylib'
      #                                               => graalpy_38_native
  
      ext_suffix = _get_config_var("EXT_SUFFIX", warn=True)
      if not isinstance(ext_suffix, str) or ext_suffix[0] != ".":
          raise SystemError(
              "invalid sysconfig.get_config_var('EXT_SUFFIX')"
          )
      parts = ext_suffix.split(".")
      if len(parts) < 3:
          # CPython3.7 and earlier uses ".pyd" on Windows.
          return _cpython_abis(sys.version_info[:2])
      soabi = parts[1]
      if soabi.startswith("cpython"):
          # non-windows
          abi = "cp" + soabi.split("-")[1]
      elif soabi.startswith("cp"):
          # windows
          abi = soabi.split("-")[0]
      elif soabi.startswith("pypy"):
          abi = "-".join(soabi.split("-")[:2])
      elif soabi.startswith("graalpy"):
          abi = "-".join(soabi.split("-")[:3])
      elif soabi:
          # pyston, ironpython, others?
          abi = soabi
      else:
          return []
      return [_normalize_string(abi)]
  
imports: import logging
  import platform
  import subprocess
  import sys
  import sysconfig
  from importlib.machinery import EXTENSION_SUFFIXES
  from typing import Dict, FrozenSet, Iterable, Iterator, List, Optional, Sequence, Tuple, Union, cast
  from .None import _manylinux, _musllinux
label_desc: Use image node_id 7 for calling a global function with example usage: _generic_abi() and returns: list, _cpython_abis, list