diff options
author | Steven D'Aprano <steve+python@pearwood.info> | 2016-05-11 01:50:13 (GMT) |
---|---|---|
committer | Steven D'Aprano <steve+python@pearwood.info> | 2016-05-11 01:50:13 (GMT) |
commit | bc62aae923fc430f8da21534bfe6b88d67b1c587 (patch) | |
tree | 7a90635fe36b3030dc3d19bf6db8c054ed2f51af | |
parent | dba903993a8d3e13d2cf83d6a8912e908025b17b (diff) | |
download | cpython-bc62aae923fc430f8da21534bfe6b88d67b1c587.zip cpython-bc62aae923fc430f8da21534bfe6b88d67b1c587.tar.gz cpython-bc62aae923fc430f8da21534bfe6b88d67b1c587.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 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) |