Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What if the second argument is a float?


Nothing. Type hints are only paint on the bike shed. By default, there is no function in the language, e.g., raise exception for incorrect type.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: