[Python-ideas] Pre-PEP: adding a statistics module to Python

Michael Walter michael.walter at gmail.com
Wed Aug 7 20:05:27 CEST 2013


So that the default can be "true" ;)


On Wed, Aug 7, 2013 at 6:48 PM, MRAB <python at mrabarnett.plus.com> wrote:

> On 07/08/2013 17:28, Ryan wrote:
>
>> What if it was an option. i.e.
>>
>> statistics.sum(myiter, listconv=True)
>>
>>  [snip]
> Why have an option? You can just do this:
>
> statistics.sum(list(myiter))
>
> ______________________________**_________________
>
> Python-ideas mailing list
> Python-ideas at python.org
> http://mail.python.org/**mailman/listinfo/python-ideas<http://mail.python.org/mailman/listinfo/python-ideas>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130807/b0ed1868/attachment.html>


More information about the Python-ideas mailing list