On 01/23/2012 08:28 AM, Hrvoje Niksic wrote:
Dave Angel<d...@davea.name>  writes:

I do something similar when there's a portion of code that should
never be reached:

assert("reason why I cannot get here")
Shouldn't that be assert False, "reason why I cannot get here"?
You caught me in a typo. If it's in python there should be a not there, and if it's in C, a bang.



--

DaveA

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to