summaryrefslogtreecommitdiffstats
path: root/Lib/statistics.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-12-08 10:42:02 (GMT)
committerGitHub <noreply@github.com>2021-12-08 10:42:02 (GMT)
commitc602c1be439e295fed9ebab47e895ef1d9df28be (patch)
tree6c395e2a13044b51cb67e5cd0f520ed720552b02 /Lib/statistics.py
parent7989e9dff68fd681657aa9f93ac6e8fa12c534e4 (diff)
downloadcpython-c602c1be439e295fed9ebab47e895ef1d9df28be.zip
cpython-c602c1be439e295fed9ebab47e895ef1d9df28be.tar.gz
cpython-c602c1be439e295fed9ebab47e895ef1d9df28be.tar.bz2
Fix double-space in exception message (GH-29955)
Diffstat (limited to 'Lib/statistics.py')
-rw-r--r--Lib/statistics.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/statistics.py b/Lib/statistics.py
index ff19ce9..c104571 100644
--- a/Lib/statistics.py
+++ b/Lib/statistics.py
@@ -463,7 +463,7 @@ def geometric_mean(data):
return exp(fmean(map(log, data)))
except ValueError:
raise StatisticsError('geometric mean requires a non-empty dataset '
- ' containing positive numbers') from None
+ 'containing positive numbers') from None
def harmonic_mean(data, weights=None):