From 0c7dc494f2a32494f8971a236ba59c0c35f48d94 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Fri, 15 Mar 2024 14:02:10 -0500 Subject: [PATCH] Minor kde() docstring nit: make presentation order match the function signature (#116876) --- Lib/statistics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/statistics.py b/Lib/statistics.py index 7924123c05b..5d636258fd4 100644 --- a/Lib/statistics.py +++ b/Lib/statistics.py @@ -963,7 +963,7 @@ def kde(data, h, kernel='normal'): supported = sample[i : j] return sum(K((x - x_i) / h) for x_i in supported) / (n * h) - pdf.__doc__ = f'PDF estimate with {kernel=!r} and {h=!r}' + pdf.__doc__ = f'PDF estimate with {h=!r} and {kernel=!r}' return pdf