changeset: 101265:2bf4a02f3570 parent: 101263:a8883951b2ff user: Steven D'Aprano date: Sun May 08 22:14:38 2016 +1000 files: Lib/statistics.py description: Issue 26977, remove unneeded line in pvariance (duplicate call to _ss). diff -r a8883951b2ff -r 2bf4a02f3570 Lib/statistics.py --- a/Lib/statistics.py Sun May 08 12:34:58 2016 +0000 +++ b/Lib/statistics.py Sun May 08 22:14:38 2016 +1000 @@ -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)