Skip to content

Commit 882611c

Browse files
authored
Merge pull request numpy#26790 from rossbar/numpygh-26786
DOC: Update link to Python stdlib random.
2 parents 7687245 + 11e87b8 commit 882611c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

numpy/random/_generator.pyx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,10 @@ cdef class Generator:
169169
170170
Notes
171171
-----
172-
The Python stdlib module `random` contains pseudo-random number generator
173-
with a number of methods that are similar to the ones available in
174-
`Generator`. It uses Mersenne Twister, and this bit generator can
172+
The Python stdlib module :external+python:mod:`random` contains
173+
pseudo-random number generator with a number of methods that are similar
174+
to the ones available in `Generator`.
175+
It uses Mersenne Twister, and this bit generator can
175176
be accessed using `MT19937`. `Generator`, besides being
176177
NumPy-aware, has the advantage that it provides a much larger number
177178
of probability distributions to choose from.

0 commit comments

Comments
 (0)