mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +00:00
Fix double-space in exception message (GH-29955)
(cherry picked from commit c602c1be43
)
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
This commit is contained in:
parent
14f03ce6e8
commit
fbdbbdb67b
1 changed files with 1 additions and 1 deletions
|
@ -374,7 +374,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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue