From: Raymond Hettinger Date: Wed, 18 Sep 2019 03:45:05 +0000 (-0700) Subject: bpo-36546: No longer a need to make "data" positional only (GH-16252) X-Git-Tag: v3.9.0a1~393 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=272d0d017aef585acf84bb0af99a90a2a8582b2c;p=thirdparty%2FPython%2Fcpython.git bpo-36546: No longer a need to make "data" positional only (GH-16252) --- diff --git a/Lib/statistics.py b/Lib/statistics.py index 70c48d605d19..d81596e5d8ab 100644 --- a/Lib/statistics.py +++ b/Lib/statistics.py @@ -615,7 +615,7 @@ def multimode(data): # position is that fewer options make for easier choices and that # external packages can be used for anything more advanced. -def quantiles(data, /, *, n=4, method='exclusive'): +def quantiles(data, *, n=4, method='exclusive'): """Divide *data* into *n* continuous intervals with equal probability. Returns a list of (n - 1) cut points separating the intervals.