summaryrefslogtreecommitdiffstats
path: root/Lib/statistics.py
diff options
context:
space:
mode:
authorRaymond Hettinger <rhettinger@users.noreply.github.com>2019-06-25 02:39:22 (GMT)
committerGitHub <noreply@github.com>2019-06-25 02:39:22 (GMT)
commit1791128677e71f3b93cae4bbed66ac3c6e4b5110 (patch)
treed4da7056a5c7c0464b5d2957db794cf4726b09aa /Lib/statistics.py
parent3f5b9088b0ed08e1442cca37df78f609d5cd8c3c (diff)
downloadcpython-1791128677e71f3b93cae4bbed66ac3c6e4b5110.zip
cpython-1791128677e71f3b93cae4bbed66ac3c6e4b5110.tar.gz
cpython-1791128677e71f3b93cae4bbed66ac3c6e4b5110.tar.bz2
bpo-36546: Mark first argument as position only (GH-14363)
Diffstat (limited to 'Lib/statistics.py')
-rw-r--r--Lib/statistics.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/statistics.py b/Lib/statistics.py
index 5be70e5..79b65a2 100644
--- a/Lib/statistics.py
+++ b/Lib/statistics.py
@@ -603,7 +603,7 @@ def multimode(data):
# options make for easier choices and that external packages can be
# used for anything more advanced.
-def quantiles(dist, *, n=4, method='exclusive'):
+def quantiles(dist, /, *, n=4, method='exclusive'):
'''Divide *dist* into *n* continuous intervals with equal probability.
Returns a list of (n - 1) cut points separating the intervals.