Message335684
| Author | Windson Yang |
|---|---|
| Recipients | Windson Yang, francismb, rhettinger, steven.daprano |
| Date | 2019-02-16.13:36:18 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1550324178.22.0.167415276112.issue35892@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
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 |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2019-02-16 13:36:18 | Windson Yang | set | recipients: + Windson Yang, rhettinger, steven.daprano, francismb |
| 2019-02-16 13:36:18 | Windson Yang | set | messageid: <1550324178.22.0.167415276112.issue35892@roundup.psfhosted.org> |
| 2019-02-16 13:36:18 | Windson Yang | link | issue35892 messages |
| 2019-02-16 13:36:18 | Windson Yang | create | |