From bc62aae923fc430f8da21534bfe6b88d67b1c587 Mon Sep 17 00:00:00 2001 From: Steven D'Aprano Date: Wed, 11 May 2016 11:50:13 +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 518f546..4f5c1c1 100644 --- a/Lib/statistics.py +++ b/Lib/statistics.py @@ -601,7 +601,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