diff options
| author | Jim Mussared <jim.mussared@gmail.com> | 2022-08-18 15:01:26 +1000 |
|---|---|---|
| committer | Jim Mussared <jim.mussared@gmail.com> | 2023-06-08 17:54:11 +1000 |
| commit | f5f9edf6457624bf32e71b0c2fdcfbfa5d5753a6 (patch) | |
| tree | a8cce3668eed96ebb39abe626c6a8a52d5787f34 /docs/library/random.rst | |
| parent | 7f5d5c72718af773db751269c6ae14037b9c0727 (diff) | |
all: Rename UMODULE to MODULE in preprocessor/Makefile vars.
This work was funded through GitHub Sponsors.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'docs/library/random.rst')
| -rw-r--r-- | docs/library/random.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/library/random.rst b/docs/library/random.rst index dd8b47c80..be56eb088 100644 --- a/docs/library/random.rst +++ b/docs/library/random.rst @@ -24,7 +24,7 @@ This module implements a pseudo-random number generator (PRNG). .. note:: The :func:`randrange`, :func:`randint` and :func:`choice` functions are only - available if the ``MICROPY_PY_URANDOM_EXTRA_FUNCS`` configuration option is + available if the ``MICROPY_PY_RANDOM_EXTRA_FUNCS`` configuration option is enabled. @@ -73,7 +73,7 @@ Other Functions supported by the port) initialise the PRNG with a true random number (usually a hardware generated random number). - The ``None`` case only works if ``MICROPY_PY_URANDOM_SEED_INIT_FUNC`` is + The ``None`` case only works if ``MICROPY_PY_RANDOM_SEED_INIT_FUNC`` is enabled by the port, otherwise it raises ``ValueError``. .. function:: choice(sequence) |
