Skip to content

Commit

Permalink
DOC: Update link to Python stdlib random.
Browse files Browse the repository at this point in the history
[skip azp][skip cirrus][skip actions]
  • Loading branch information
rossbar committed Jun 24, 2024
1 parent 7687245 commit 11e87b8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions numpy/random/_generator.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,10 @@ cdef class Generator:
Notes
-----
The Python stdlib module `random` contains pseudo-random number generator
with a number of methods that are similar to the ones available in
`Generator`. It uses Mersenne Twister, and this bit generator can
The Python stdlib module :external+python:mod:`random` contains
pseudo-random number generator with a number of methods that are similar
to the ones available in `Generator`.
It uses Mersenne Twister, and this bit generator can
be accessed using `MT19937`. `Generator`, besides being
NumPy-aware, has the advantage that it provides a much larger number
of probability distributions to choose from.
Expand Down

0 comments on commit 11e87b8

Please sign in to comment.