summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-09-18 04:06:53 (GMT)
committerRaymond Hettinger <rhettinger@users.noreply.github.com>2019-09-18 04:06:53 (GMT)
commit31af1cce9d799475ba8c3dec3e239b4a75ce268f (patch)
tree85f004e087062cb79704d286f353f002d89ba8e3 /Lib
parent54ba5f19d4a654768c785468d736ed0bd05947f5 (diff)
downloadcpython-31af1cce9d799475ba8c3dec3e239b4a75ce268f.zip
cpython-31af1cce9d799475ba8c3dec3e239b4a75ce268f.tar.gz
cpython-31af1cce9d799475ba8c3dec3e239b4a75ce268f.tar.bz2
bpo-36546: No longer a need to make "data" positional only (GH-16252) (GH-16253)
(cherry picked from commit 272d0d017aef585acf84bb0af99a90a2a8582b2c) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Diffstat (limited to 'Lib')
-rw-r--r--Lib/statistics.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/statistics.py b/Lib/statistics.py
index 70c48d6..d81596e 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.