On 6/21/07, Bill Janssen <[EMAIL PROTECTED]> wrote:
> The real problem with "sum", I think, is that the parameter list is
> ill-conceived (perhaps because it was added before variable length
> parameter lists were?). It should be
> sum(*operands)
> not
> sum(operands, initialvalue=?)
Is this worth fixing in Python 3, where keyword-only parameters become
an option?
sum(*operands, start=0)
-jJ
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe:
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com