Are there good reason to accept float but not int in a function in Python?
In a big library, I had a ‘bug’ because a function which accept only float but not int
In a big library, I had a ‘bug’ because a function which accept only float but not int