code: def qualified_name(self):
          
          idxstr = '' if self.index is None else str(self.index)
          return "%s[%s]" % (self.qualified_package_name, idxstr)
docs: Get the qualified name of the variant.
  
          Returns:
              str: Name of the variant with version and index, eg "maya-2016.1[1]".