Björn Augustsson <[email protected]> added the comment: Er, that's fairly weird...
Couldn't it do eg "type(first argument)", and if it's a list, replace the 0 with []? What's the second argument's use anyway? s = sum([1,2,3,4]) + 3 seems a lot clearer than s = sum([1,2,3,4], 3) and those seem to be equivalent. Thanks, /August. ---------- _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue7176> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
