How sum() should really be done
Erik Max Francis
max at alcyone.com
Thu Nov 13 17:51:00 EST 2003
More information about the Python-list mailing list
Thu Nov 13 17:51:00 EST 2003
- Previous message (by thread): How sum() should really be done
- Next message (by thread): How sum() should really be done
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Douglas Alan wrote: > Ah, that reminds me -- both sum() and reduce() can be removed from > Python by extending operator.add so that it will take any number of > arguments. reduce can't, since reduce doesn't require the function passed to be operator.add. -- Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/ __ San Jose, CA, USA && 37 20 N 121 53 W && &tSftDotIotE / \ \__/ The golden rule is that there are no golden rules. -- George Bernard Shaw
- Previous message (by thread): How sum() should really be done
- Next message (by thread): How sum() should really be done
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list