John Posner wrote:
> Is there any consensus on how to format a conditional expression
> that is too long for one line?

Here's my take:

    excessblk = Block(total - P.BASE, srccol,
carry_button_suppress=True
        ) if total > P.BASE else None

--
Nicola Larosa - http://www.tekNico.net/

Nobody knows everything, and nobody is expected to be perfect
in the Ubuntu community (except of course the SABDFL).
 - https://launchpad.net/codeofconduct/1.0
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to