code: def system_alias(system, release, version):
      """Returns (system, release, version) aliased to common
      marketing names used for some systems.
  
      It also does some reordering of the information in some cases
      where it would otherwise cause confusion.
  
      """
      if system == "SunOS":
          # Sun's OS
          if release < "5":
              # These releases use the old name SunOS
              return system, release, version
          # Modify release (marketing release = SunOS release - 3)
          l = release.split(".")
          if l:
              try:
                  major = int(l[0])
              except ValueError:
                  pass
              else:
                  major = major - 3
                  l[0] = str(major)
                  release = ".".join(l)
          if release < "6":
              system = "Solaris"
          else:
              # XXX Whatever the new SunOS marketing name is...
              system = "Solaris"
  
      elif system in ("win32", "win16"):
          # In case one of the other tricks
          system = "Windows"
  
      # bpo-35516: Don't replace Darwin with macOS since input release and
      # version arguments can be different than the currently running version.
  
      return system, release, version
  
imports: import collections
  import os
  import re
  import sys
  import functools
  import itertools
label_desc: Use image node_id 14 for calling a global function with example usage: system_alias(system, release, version) and returns: system,  release,  version, system,  release,  version