code: def packVersion(major, minor=0, patch=0):
      '''
      Pack a set of major/minor/patch integers into a single integer for storage.
  
      Args:
          major (int): Major version level integer.
          minor (int): Minor version level integer.
          patch (int): Patch version level integer.
  
      Returns:
          int:  System normalized integer value to represent a software version.
      '''
  
      ret = patch & mask20
      ret = ret | (minor & mask20) << 20
      ret = ret | (major & mask20) << 20 * 2
      return ref packVersion(major, minor=0, patch=0):
      '''
      Pack a set of major/minor/patch integers into a single integer for storage.
  
      Args:
          major (int): Major version level integer.
          minor (int): Minor version level integer.
          patch (int): Patch version level integer.
  
      Returns:
          int:  System normalized integer value to represent a software version.
      '''
  
      ret = patch & mask20
      ret = ret | (minor & mask20) << 20
      ret = ret | (major & mask20) << 20 * 2
      return ret
docs: Pack a set of major/minor/patch integers into a single integer for storage.
  
      Args:
          major (int): Major version level integer.
          minor (int): Minor version level integer.
          patch (int): Patch version level integer.
  
      Returns:
          int:  System normalized integer value to represent a software version.