commit | cc22984d9e5e5357212db2eb1841f93e75fe75f5 | [log] [tgz] |
---|---|---|
author | Steven D'Aprano <steve@pearwood.info> | Sun May 08 22:14:38 2016 +1000 |
committer | Steven D'Aprano <steve@pearwood.info> | Sun May 08 22:14:38 2016 +1000 |
tree | 569df2bfe62d02228210828ddf41c8eaf8182ab7 | |
parent | 18933ed6ab0de16962e8dbdef7003f9a9546513e [diff] |
Issue 26977, remove unneeded line in pvariance (duplicate call to _ss).
diff --git a/Lib/statistics.py b/Lib/statistics.py index af5d41e..fc0c3d2 100644 --- 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)