| Old revision #pnnxdykq8 | New revision #pjsb52s6w | ||
|---|---|---|---|
| 1 | # new new 2 | ||
| 2 | years = set() | ||
| 3 | for variant in self.model_variants: | ||
| 4 | years.add(variant.intro_date) | ||
| 5 | years.add(variant.end_date) | ||
| 6 | years = sorted(years) | ||
| 7 | |||
| 8 | |||
| 1 | # new new new | 9 | # new new new |
| 2 | years = sorted(set((variant.intro_date, variant.end_date) for variant in self.model_variants)) | 10 | years = sorted(set((variant.intro_date, variant.end_date) for variant in self.model_variants)) |
| 3 | 11 | ||