Python Type Checking Vs Spending