diff options
| author | Steven D'Aprano <steve@pearwood.info> | 2016-05-08 22:14:38 +1000 |
|---|---|---|
| committer | Steven D'Aprano <steve@pearwood.info> | 2016-05-08 22:14:38 +1000 |
| commit | cc22984d9e5e5357212db2eb1841f93e75fe75f5 (patch) | |
| tree | 569df2bfe62d02228210828ddf41c8eaf8182ab7 | |
| parent | 18933ed6ab0de16962e8dbdef7003f9a9546513e (diff) | |
| download | cpython-git-cc22984d9e5e5357212db2eb1841f93e75fe75f5.tar.gz | |
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 af5d41e89e..fc0c3d2328 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) |
