On Sat, Jul 4, 2009 at 18:01, Dennis Lee Bieber<wlfr...@ix.netcom.com> wrote:
>        Do you really want to inflict novices with the subtleties of when
> "assert" is a proper structure to use?

I'll second that.  This very thread is proof that assertions are polemic, so
maybe you (kj) should just save your student's sanity and stick to good old
conditionals :-)

As for your initial question, I think, thirty four emails after, that yes, your
function is a bit too clever and you should sacrifice some generality in order
to make it more readable.


-- 
Pablo Torres N.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to