code: def _cpython_tags(py_version, interpreter, abis, platforms):
      for abi in abis:
          for platform_ in platforms:
              yield Tag(interpreter, abi, platform_)
      for tag in (
          Tag(interpreter, "abi3", platform_) for platform_ in platforms
      ):
          yield tag
      for tag in (
          Tag(interpreter, "none", platform_) for platform_ in platforms
      ):
          yield tag
      # PEP 384 was first implemented in Python 3.2.
      for minor_version in range(py_version[1] - 1, 1, -1):
          for platform_ in platforms:
              interpreter = "cp{major}{minor}".format(
                  major=py_version[0], minor=minor_version
              )
              yield Tag(interpreter, "abi3", platform_)
  
imports: from __future__ import absolute_import
  import distutils.util
  import platform
  import re
  import sys
  import sysconfig
  import warnings
label_desc: Use image node_id 5 for calling a global function with example usage: _cpython_tags(py_version, interpreter, abis, platforms) without return types