summaryrefslogtreecommitdiffstats
path: root/Lib/statistics.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-12-08 11:41:50 (GMT)
committerGitHub <noreply@github.com>2021-12-08 11:41:50 (GMT)
commit25254d484248f5a555d30209f455b8d8ee2e72df (patch)
tree4eca29b01096550b827059c7abbc128bfce8dc55 /Lib/statistics.py
parentdb42809d299d1bc3a07b29fabe8f74fa02a7e59e (diff)
downloadcpython-25254d484248f5a555d30209f455b8d8ee2e72df.zip
cpython-25254d484248f5a555d30209f455b8d8ee2e72df.tar.gz
cpython-25254d484248f5a555d30209f455b8d8ee2e72df.tar.bz2
Fix double-space in exception message (GH-29955) (GH-29983)
(cherry picked from commit c602c1be439e295fed9ebab47e895ef1d9df28be) Co-authored-by: Ned Batchelder <ned@nedbatchelder.com> Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
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 f9d3802..463ac9e 100644
--- a/Lib/statistics.py
+++ b/Lib/statistics.py
@@ -361,7 +361,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):