def METHOD_NAME(self, left, right):
    leftGlyphs = self.f.groups.get(left, [left])
    rightGlyphs = self.f.groups.get(right, [right])
    combinations = list(itertools.product(leftGlyphs, rightGlyphs))
    return combinations