diff options
author | Albert Villanova del Moral <8515462+albertvillanova@users.noreply.github.com> | 2020-09-25 14:21:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-25 08:21:31 -0400 |
commit | 02e6b062027666b22c68d91e280b28f57ee9c2b5 (patch) | |
tree | d124174ac3b9dcb374ad5838c9e43d1d72a75b0d | |
parent | ffb6f185b5775c612524496e98c8e6240f9bfccd (diff) | |
download | numpy-02e6b062027666b22c68d91e280b28f57ee9c2b5.tar.gz |
DOC: random: Fix default_rng docstring (#17375)
-rw-r--r-- | numpy/random/_generator.pyx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/random/_generator.pyx b/numpy/random/_generator.pyx index e40dcefe3..bff023d7f 100644 --- a/numpy/random/_generator.pyx +++ b/numpy/random/_generator.pyx @@ -4521,7 +4521,7 @@ def default_rng(seed=None): unpredictable entropy will be pulled from the OS. If an ``int`` or ``array_like[ints]`` is passed, then it will be passed to `SeedSequence` to derive the initial `BitGenerator` state. One may also - pass in a`SeedSequence` instance + pass in a `SeedSequence` instance. Additionally, when passed a `BitGenerator`, it will be wrapped by `Generator`. If passed a `Generator`, it will be returned unaltered. |