mirror of
https://github.com/python/cpython.git
synced 2025-08-09 19:38:42 +00:00
bpo-36546: Mark first argument as position only (GH-14363) (GH-14364)
This commit is contained in:
parent
5bf3b89dfb
commit
210358b25c
2 changed files with 5 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue