Chris Rebert <c...@rebertia.com> wrote: > Or, if possible, refactor the conditional into a function (call) so > it's no longer multiline in the first place.
Or even simpler, assign the condition result to a variable: a_b_positive = a > 0 and b > 0 if a_b_positive: ... -- http://mail.python.org/mailman/listinfo/python-list