(self)
return case_type_to_expansions
Organize equivalences as case_type => set of expansions mapping
Organize equivalences as case_type => set of expansions mapping
Organize equivalences as case_type = > set of expansions mapping
def _case_type_to_expansions(self):
        """Organize equivalences as case_type => set of expansions mapping"""
        case_type_to_expansions = defaultdict(set)
        for equivalence in self._all_possible_equivalences:
            case_type_to_expansions[equivalence.case_type].add(equivalence.expansion)
        return case_type_to_expansions
def _case_type_to_expansions ( self ) : case_type_to_expansions = defaultdict ( set ) for equivalence in self . _all_possible_equivalences : case_type_to_expansions [ equivalence . case_type ] . add ( equivalence . expansion ) return case_type_to_expansions