From: Ned Batchelder Date: Wed, 8 Dec 2021 10:42:02 +0000 (-0800) Subject: Fix double-space in exception message (GH-29955) X-Git-Tag: v3.11.0a3~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c602c1be439e295fed9ebab47e895ef1d9df28be;p=thirdparty%2FPython%2Fcpython.git Fix double-space in exception message (GH-29955) --- diff --git a/Lib/statistics.py b/Lib/statistics.py index ff19ce9672d3..c104571d3905 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):