On 12/17/2013 11:30 PM, Dave Angel wrote:
On Wed, 18 Dec 2013 02:39:43 +1100, Steven D'Aprano <st...@pearwood.info> wrote:
    if a > 0 and b > 0 and c > 0:
    if all(x for x in (a, b, c):

Er, perhaps it should be:

if all (x> 0 for x in (a, b, c):

I saw the missing paren at once (maybe a few months progr lisp and a few others scheme helped, here ;-), but completely missed this one you caught!

Denis

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to