mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
bpo-36018: Make "seed" into a keyword only argument (GH-12921)
This commit is contained in:
parent
7280048690
commit
fb8c7d5332
2 changed files with 2 additions and 2 deletions
|
|
@ -607,7 +607,7 @@ of applications in statistics.
|
|||
:exc:`StatisticsError` because it takes at least one point to estimate
|
||||
a central value and at least two points to estimate dispersion.
|
||||
|
||||
.. method:: NormalDist.samples(n, seed=None)
|
||||
.. method:: NormalDist.samples(n, *, seed=None)
|
||||
|
||||
Generates *n* random samples for a given mean and standard deviation.
|
||||
Returns a :class:`list` of :class:`float` values.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue