From cc22984d9e5e5357212db2eb1841f93e75fe75f5 Mon Sep 17 00:00:00 2001 From: Steven D'Aprano Date: Sun, 8 May 2016 22:14:38 +1000 Subject: Issue 26977, remove unneeded line in pvariance (duplicate call to _ss). --- Lib/statistics.py | 1 - 1 file changed, 1 deletion(-) 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 @@ def pvariance(data, mu=None): 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) -- cgit v0.12