Skip to content

Commit fbdbbdb

Browse files
Fix double-space in exception message (GH-29955)
(cherry picked from commit c602c1b) Co-authored-by: Ned Batchelder <[email protected]>
1 parent 14f03ce commit fbdbbdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/statistics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ def geometric_mean(data):
374374
return exp(fmean(map(log, data)))
375375
except ValueError:
376376
raise StatisticsError('geometric mean requires a non-empty dataset '
377-
' containing positive numbers') from None
377+
'containing positive numbers') from None
378378

379379

380380
def harmonic_mean(data, weights=None):

0 commit comments

Comments
 (0)