]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix double-space in exception message (GH-29955)
authorNed Batchelder <ned@nedbatchelder.com>
Wed, 8 Dec 2021 10:42:02 +0000 (02:42 -0800)
committerGitHub <noreply@github.com>
Wed, 8 Dec 2021 10:42:02 +0000 (12:42 +0200)
Lib/statistics.py

index ff19ce9672d331e4987c6f18f64eb471e195cde5..c104571d39053d03bd0214b76760afb61c9dbcb3 100644 (file)
@@ -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):