Loading
#openttdcoop - Paste
Archives
Trending
Docs
Login
Paste #pswphv1ib
Wrap
Raw
Revise
#new
years
=
set
(
)
for
dates
in
[
(
variant.
intro_date
,
variant.
end_date
)
for
variant
in
self
.
model_variants
]
:
years
=
years.
union
(
dates
)
years
=
sorted
(
years
)
# old
years
=
sorted
(
reduce
(
set
.
union
,
[
(
variant.
intro_date
,
variant.
end_date
)
for
variant
in
self
.
model_variants
]
,
set
(
)
)
)
Comments