diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2022-01-13 09:03:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-13 09:03:17 -0700 |
commit | c6d95f57bff1ae390b3539bd46f1c74695b861eb (patch) | |
tree | 97539532377c89f6dd8468c82b7501f0bc8cde54 /numpy/random/_examples/cython/extending.pyx | |
parent | 5fee4748117e752c42ee489810f272b3e65dffd3 (diff) | |
parent | 58dbe260a2e41c31f1ab03e1abdb1f01da4c1edc (diff) | |
download | numpy-c6d95f57bff1ae390b3539bd46f1c74695b861eb.tar.gz |
Merge pull request #20811 from DimitriPapadopoulos/repeated
MAINT, DOC: discard repeated words
Diffstat (limited to 'numpy/random/_examples/cython/extending.pyx')
-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) |