imageguy wrote:

1) >>> n = None
2) >>> c,d = n if n is not None else 0,0
...


This is more easily expressed as:
    c, d = n or (0, 0)
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to