Skip to content

Commit 3bcf31d

Browse files
authored
Apply suggestions from code review
[docs only]
1 parent 68acb0b commit 3bcf31d

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

scipy/stats/_multicomp.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -224,10 +224,11 @@ def dunnett(
224224
225225
As part of the `SPEC-007 <https://scientific-python.org/specs/spec-0007/>`_
226226
transition from use of `numpy.random.RandomState` to
227-
`numpy.random.Generator`, this keyword was changed from `random_state` to `rng`.
228-
For an interim period, both keywords will continue to work, although only one
229-
may be specified at a time. After the interim period, function calls using the
230-
`random_state` keyword will emit warnings.
227+
`numpy.random.Generator`, this keyword was changed from `random_state` to
228+
`rng`. For an interim period, both keywords will continue to work, although
229+
only one may be specified at a time. After the interim period, function
230+
calls using the `random_state` keyword will emit warnings. Following a
231+
deprecation period, the `random_state` keyword will be removed.
231232
232233
Returns
233234
-------

scipy/stats/_sensitivity_analysis.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -321,10 +321,11 @@ def sobol_indices(
321321
322322
As part of the `SPEC-007 <https://scientific-python.org/specs/spec-0007/>`_
323323
transition from use of `numpy.random.RandomState` to
324-
`numpy.random.Generator`, this keyword was changed from `random_state` to `rng`.
325-
For an interim period, both keywords will continue to work, although only one
326-
may be specified at a time. After the interim period, function calls using the
327-
`random_state` keyword will emit warnings.
324+
`numpy.random.Generator`, this keyword was changed from `random_state` to
325+
`rng`. For an interim period, both keywords will continue to work, although
326+
only one may be specified at a time. After the interim period, function
327+
calls using the `random_state` keyword will emit warnings. Following a
328+
deprecation period, the `random_state` keyword will be removed.
328329
329330
Returns
330331
-------

0 commit comments

Comments
 (0)