https://github.com/python/cpython/commit/0c7dc494f2a32494f8971a236ba59c0c35f48d94
commit: 0c7dc494f2a32494f8971a236ba59c0c35f48d94
branch: main
author: Raymond Hettinger <[email protected]>
committer: rhettinger <[email protected]>
date: 2024-03-15T14:02:10-05:00
summary:

Minor kde() docstring nit: make presentation order match the function signature 
(#116876)

files:
M Lib/statistics.py

diff --git a/Lib/statistics.py b/Lib/statistics.py
index 7924123c05b8c3..5d636258fd442b 100644
--- a/Lib/statistics.py
+++ b/Lib/statistics.py
@@ -963,7 +963,7 @@ def pdf(x):
             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
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to