diff options
author | Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> | 2022-01-13 10:56:00 +0100 |
---|---|---|
committer | Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> | 2022-01-13 11:29:51 +0100 |
commit | 58dbe260a2e41c31f1ab03e1abdb1f01da4c1edc (patch) | |
tree | 8aada9a88cb8718941d16faafb2749462f8325e5 /numpy/random/_examples/cython | |
parent | 813a0c11186ded0b5caeb853fd2b22fb9addd511 (diff) | |
download | numpy-58dbe260a2e41c31f1ab03e1abdb1f01da4c1edc.tar.gz |
MAINT, DOC: discard repeated words
Diffstat (limited to 'numpy/random/_examples/cython')
-rw-r--r-- | numpy/random/_examples/cython/extending.pyx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/random/_examples/cython/extending.pyx b/numpy/random/_examples/cython/extending.pyx index 3a7f81aa0..30efd7447 100644 --- a/numpy/random/_examples/cython/extending.pyx +++ b/numpy/random/_examples/cython/extending.pyx @@ -31,7 +31,7 @@ def uniform_mean(Py_ssize_t n): random_values = np.empty(n) # Best practice is to acquire the lock whenever generating random values. # This prevents other threads from modifying the state. Acquiring the lock - # is only necessary if if the GIL is also released, as in this example. + # is only necessary if the GIL is also released, as in this example. with x.lock, nogil: for i in range(n): random_values[i] = rng.next_double(rng.state) |