diff options
author | Steven D'Aprano <steve@pearwood.info> | 2016-05-08 12:14:38 (GMT) |
---|---|---|
committer | Steven D'Aprano <steve@pearwood.info> | 2016-05-08 12:14:38 (GMT) |
commit | cc22984d9e5e5357212db2eb1841f93e75fe75f5 (patch) | |
tree | 569df2bfe62d02228210828ddf41c8eaf8182ab7 | |
parent | 18933ed6ab0de16962e8dbdef7003f9a9546513e (diff) | |
download | cpython-cc22984d9e5e5357212db2eb1841f93e75fe75f5.zip cpython-cc22984d9e5e5357212db2eb1841f93e75fe75f5.tar.gz cpython-cc22984d9e5e5357212db2eb1841f93e75fe75f5.tar.bz2 |
Issue 26977, remove unneeded line in pvariance (duplicate call to _ss).
-rw-r--r-- | Lib/statistics.py | 1 |
1 files changed, 0 insertions, 1 deletions
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) |