Hacker News new | comments | show | ask | jobs | submit login

Wouldn't the example with the if/elif be the same as the above TypeError one? I suppose a ValueError would actually be more appropriate.

Proper design by contract support would be great too.




Applications are open for YC Summer 2016

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: