]> granicus.if.org Git - python/commitdiff
bpo-36546: No longer a need to make "data" positional only (GH-16252)
authorRaymond Hettinger <rhettinger@users.noreply.github.com>
Wed, 18 Sep 2019 03:45:05 +0000 (20:45 -0700)
committerGitHub <noreply@github.com>
Wed, 18 Sep 2019 03:45:05 +0000 (20:45 -0700)
Lib/statistics.py

index 70c48d605d1969b5ab158ae54035f26a703c5da1..d81596e5d8abcdf85f12ae5d3c351a9c4ef5502f 100644 (file)
@@ -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.