Windson Yang <wiwind...@outlook.com> added the comment:

IMHO, we don't need to add the option. We can return the smallest value from 
the **table** instead of the code below.

    if len(table) == 1:
        return table[0][0]

[1] https://github.com/python/cpython/blob/master/Lib/statistics.py#L502

----------
nosy: +Windson Yang

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35892>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to