On Jan 23, 2:05 am, Dan Sommers <d...@tombstonezero.net> wrote:
> As per a now-ancient suggestion on this mailing list (I believe it was by
> Tim Peters), I've also been known to use a non-empty, literal Python
> string as a self-documenting, forever-True value in the typical loop-and-a-
> half cnstruct:
>
>     while "the temperature is too big":

I don't think I've ever encountered this before, but I like it :)
Cheers!
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to