bpo-36546: No longer a need to make "data" positional only (GH-16252)

This commit is contained in:
Raymond Hettinger 2019-09-17 20:45:05 -07:00 committed by GitHub
parent b9877cd2cc
commit 272d0d017a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View 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.