mirror of https://github.com/python/cpython.git
Fix double-space in exception message (GH-29955)
This commit is contained in:
parent
7989e9dff6
commit
c602c1be43
|
@ -463,7 +463,7 @@ def geometric_mean(data):
|
||||||
return exp(fmean(map(log, data)))
|
return exp(fmean(map(log, data)))
|
||||||
except ValueError:
|
except ValueError:
|
||||||
raise StatisticsError('geometric mean requires a non-empty dataset '
|
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):
|
def harmonic_mean(data, weights=None):
|
||||||
|
|
Loading…
Reference in New Issue