[Python-checkins] cpython: Issue 26977, remove unneeded line in pvariance (duplicate call to _ss).
steven.daprano
python-checkins at python.org
Sun May 8 08:14:54 EDT 2016
https://hg.python.org/cpython/rev/2bf4a02f3570
changeset: 101265:2bf4a02f3570
parent: 101263:a8883951b2ff
user: Steven D'Aprano <steve at pearwood.info>
date: Sun May 08 22:14:38 2016 +1000
summary:
Issue 26977, remove unneeded line in pvariance (duplicate call to _ss).
files:
Lib/statistics.py | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/Lib/statistics.py b/Lib/statistics.py
--- a/Lib/statistics.py
+++ b/Lib/statistics.py
@@ -593,7 +593,6 @@
n = len(data)
if n < 1:
raise StatisticsError('pvariance requires at least one data point')
- ss = _ss(data, mu)
T, ss = _ss(data, mu)
return _convert(ss/n, T)
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list