"John Posner" <jjpos...@optimum.net> wrote in message 
news:mailman.26.1250604346.2854.python-l...@python.org...

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

I wonder if it is appropriate to replace the None sentinel with one that is an 
instance
of Block() e.g.

size = total - P.BASE
excessblk = Block(size, srccol, carry_button_suppress=True, empty_block=(size 
<= 0) )


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to