diff options
author | mattip <matti.picus@gmail.com> | 2019-10-13 09:13:05 +0300 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2019-10-13 09:13:05 +0300 |
commit | 185efe1bb746ad5b6ac23d106df12ad35a207d49 (patch) | |
tree | 737b9dd102c576756910764aa12da74c099b50b5 /numpy/random/_generator.pyx | |
parent | 260bf67640724915ffefd0a5a7133318ece149da (diff) | |
download | numpy-185efe1bb746ad5b6ac23d106df12ad35a207d49.tar.gz |
DOC: clean up for moved references, remove ISeedSequence
Diffstat (limited to 'numpy/random/_generator.pyx')
-rw-r--r-- | numpy/random/_generator.pyx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/numpy/random/_generator.pyx b/numpy/random/_generator.pyx index f4c1d3772..22b17ab03 100644 --- a/numpy/random/_generator.pyx +++ b/numpy/random/_generator.pyx @@ -4097,19 +4097,18 @@ def default_rng(seed=None): Parameters ---------- - seed : {None, int, array_like[ints], ISeedSequence, BitGenerator, Generator}, optional + seed : {None, int, array_like[ints], SeedSequence, BitGenerator, Generator}, optional A seed to initialize the `BitGenerator`. If None, then fresh, 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 an implementor of the `ISeedSequence` interface like - `SeedSequence`. + 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. Notes ----- - When `seed` is omitted or ``None``, a new `BitGenerator` and `Generator` will + When ``seed`` is omitted or ``None``, a new `BitGenerator` and `Generator` will be instantiated each time. This function does not manage a default global instance. """ |