Fix double-space in exception message (GH-29955)

This commit is contained in:
Ned Batchelder 2021-12-08 02:42:02 -08:00 committed by GitHub
parent 7989e9dff6
commit c602c1be43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View 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):