Anton <anschat...@gmail.com>:

> I can see how assert statement can point out what should not happen,
> can you give an example when a single assert statement would explain
> why it should never happen?

Asserts don't communicate justifications. They simply assert something
to be the case, period. Any other elaborations must go in comments.


Marko
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to