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

Do you use parens with assert? In Python, the assert statement is not a function, right?

That bit me before... it created a tuple which evaluated as true.



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

Search: