def get_occurrence(self, occ):
        """
        Return a persisted occurrences matching the occ and remove it from
        lookup since it has already been matched
        """
        return self.lookup.pop(
            (occ.event, occ.original_start, occ.original_end),
            occ)
def get_occurrence ( self , occ ) : return self . lookup . pop ( ( occ . event , occ . original_start , occ . original_end ) , occ )
Return a persisted occurrences matching the occ and remove it from
        lookup since it has already been matched