From 58dbe260a2e41c31f1ab03e1abdb1f01da4c1edc Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Thu, 13 Jan 2022 10:56:00 +0100 Subject: MAINT, DOC: discard repeated words --- numpy/random/_examples/cython/extending.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/random/_examples/cython/extending.pyx') 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) -- cgit v1.2.1