oops precedence
interestingly enough it doesn't matter here but, let's be correct
This commit is contained in:
parent
7a9106e3bd
commit
b428788fc0
|
@ -11,7 +11,7 @@ SCALES = [
|
||||||
# me, wise:
|
# me, wise:
|
||||||
mean((31,
|
mean((31,
|
||||||
mean((29 if year % 400 == 0
|
mean((29 if year % 400 == 0
|
||||||
or year % 100 != 0 and year % 4 == 0
|
or (year % 100 != 0 and year % 4 == 0)
|
||||||
else 28
|
else 28
|
||||||
for year in range(400)))
|
for year in range(400)))
|
||||||
,31,30,31,30,31,31,30,31,30,31))
|
,31,30,31,30,31,31,30,31,30,31))
|
||||||
|
@ -20,7 +20,7 @@ SCALES = [
|
||||||
# you, a fool: ok. a year is 365.25 days. happy?
|
# you, a fool: ok. a year is 365.25 days. happy?
|
||||||
# me, wise: absolutely not
|
# me, wise: absolutely not
|
||||||
mean((366 if year % 400 == 0
|
mean((366 if year % 400 == 0
|
||||||
or year % 100 != 0 and year % 4 == 0
|
or (year % 100 != 0 and year % 4 == 0)
|
||||||
else 365
|
else 365
|
||||||
for year in range(400)))
|
for year in range(400)))
|
||||||
)),
|
)),
|
||||||
|
|
Loading…
Reference in New Issue