def AddOrGetVariantGroupByNameAndPath(self, name, path):

    key = (name, path)
    if key in self._variant_children_by_name_and_path:
      variant_group_ref = self._variant_children_by_name_and_path[key]
      assert variant_group_ref.__class__ == PBXVariantGroup
      return variant_group_ref

    variant_group_properties = {'name': name}
    if path != None:
      variant_group_properties['path'] = path
    variant_group_ref = PBXVariantGroup(variant_group_properties)
    self.AppendChild(variant_group_ref)

    return variant_group_ref
Calculate the most derived metaclass.
dataset/ETHPy150Open adblockplus/gyp/pylib/gyp/xcodeproj_file.py/PBXGroup.AddOrGetVariantGroupByNameAndPath--crossover with--dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/types.py/_calculate_meta