summaryrefslogtreecommitdiff
path: root/docs/library/random.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/library/random.rst')
-rw-r--r--docs/library/random.rst4
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)