Repository navigation
Commit 29732a0
committed
Type change_value and time_object_info as int | float
A decimal value makes change_value a float, but its type was inferred
from the int-only branch above and time_object_info was built with
dict.fromkeys(..., 0), so mypy rejected both assignments.1 parent 48ef7d5 commit 29732a0
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
1384 | 1385 | | |
1385 | 1386 | | |
1386 | 1387 | | |
1387 | | - | |
| 1388 | + | |
| 1389 | + | |
1388 | 1390 | | |
1389 | 1391 | | |
1390 | 1392 | | |
| |||
1431 | 1433 | | |
1432 | 1434 | | |
1433 | 1435 | | |
| 1436 | + | |
1434 | 1437 | | |
1435 | 1438 | | |
1436 | 1439 | | |
| |||
0 commit comments