Open drewm1980 opened 2 years ago
mypy did not complain because it considers int a subtype of float, for better or worse: https://mypy.readthedocs.io/en/stable/duck_type_compatibility.html
but it bites your callers.
mypy did not complain because it considers int a subtype of float, for better or worse: https://mypy.readthedocs.io/en/stable/duck_type_compatibility.html
but it bites your callers.