summaryrefslogtreecommitdiff
path: root/doc/source/reference/random
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2020-07-13 07:24:20 -0600
committerGitHub <noreply@github.com>2020-07-13 07:24:20 -0600
commitf986a00c8dfc1501df8a311d421cb016817f4efc (patch)
tree3d4deb09a66b7d8a8a38e36c7e2cc7bc8f4b9eeb /doc/source/reference/random
parent746b0fcc3eb18d7c6f724d4553536b6fdab38c6e (diff)
downloadnumpy-f986a00c8dfc1501df8a311d421cb016817f4efc.tar.gz
Update doc/source/reference/random/index.rst
Co-authored-by: Matti Picus <matti.picus@gmail.com>
Diffstat (limited to 'doc/source/reference/random')
-rw-r--r--doc/source/reference/random/index.rst3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/source/reference/random/index.rst b/doc/source/reference/random/index.rst
index b88e0f98b..13ce7c40c 100644
--- a/doc/source/reference/random/index.rst
+++ b/doc/source/reference/random/index.rst
@@ -142,7 +142,7 @@ alternative bit generators to be used with little code duplication.
The `Generator` is the user-facing object that is nearly identical to the
legacy `RandomState`. It accepts a bit generator instance as an argument.
The default is currently `PCG64` but this may change in future versions.
-As a convenience NumPy provides the `default_rng` funtion to hide these
+As a convenience NumPy provides the `default_rng` function to hide these
details:
>>> from numpy.random import default_rng
@@ -248,4 +248,3 @@ Original Source of the Generator and BitGenerators
This package was developed independently of NumPy and was integrated in version
1.17.0. The original repo is at https://github.com/bashtage/randomgen.
-