summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorKevin Sheppard <kevin.k.sheppard@gmail.com>2019-06-06 23:20:55 +0100
committerKevin Sheppard <kevin.k.sheppard@gmail.com>2019-06-06 23:21:29 +0100
commit2834002b2b753c2438fa335298acc6815fcb1562 (patch)
treebedc1ca42b00c51ba04d0d110abccfc76c56d0e0 /numpy
parent5ccf87dd2da092c2e6936ed2fe6d680fcf88aa85 (diff)
downloadnumpy-2834002b2b753c2438fa335298acc6815fcb1562.tar.gz
CLN: Remove trailing white space
Remove all trailing white spaces in pyx files
Diffstat (limited to 'numpy')
-rw-r--r--numpy/random/bounded_integers.pyx.in6
-rw-r--r--numpy/random/common.pyx8
-rw-r--r--numpy/random/pcg32.pyx6
3 files changed, 10 insertions, 10 deletions
diff --git a/numpy/random/bounded_integers.pyx.in b/numpy/random/bounded_integers.pyx.in
index 93277652d..411b65a37 100644
--- a/numpy/random/bounded_integers.pyx.in
+++ b/numpy/random/bounded_integers.pyx.in
@@ -254,9 +254,9 @@ cdef object _rand_{{nptype}}(object low, object high, object size,
Notes
-----
The internal integer generator produces values from the closed
- interval [low, high-(not closed)]. This requires some care since
- high can be out-of-range for {{utype}}. The scalar path leaves
- integers as Python integers until the 1 has been subtracted to
+ interval [low, high-(not closed)]. This requires some care since
+ high can be out-of-range for {{utype}}. The scalar path leaves
+ integers as Python integers until the 1 has been subtracted to
avoid needing to cast to a larger type.
"""
cdef np.ndarray out_arr, low_arr, high_arr
diff --git a/numpy/random/common.pyx b/numpy/random/common.pyx
index f1af4986b..8d992c8cf 100644
--- a/numpy/random/common.pyx
+++ b/numpy/random/common.pyx
@@ -101,12 +101,12 @@ cdef object random_raw(bitgen_t *bitgen, object lock, object size, object output
cdef object prepare_cffi(bitgen_t *bitgen):
"""
Bundles the interfaces to interact with a BitGenerator using cffi
-
+
Parameters
----------
bitgen : pointer
A pointer to a BitGenerator instance
-
+
Returns
-------
interface : namedtuple
@@ -136,12 +136,12 @@ cdef object prepare_cffi(bitgen_t *bitgen):
cdef object prepare_ctypes(bitgen_t *bitgen):
"""
Bundles the interfaces to interact with a BitGenerator using ctypes
-
+
Parameters
----------
bitgen : pointer
A pointer to a BitGenerator instance
-
+
Returns
-------
interface : namedtuple
diff --git a/numpy/random/pcg32.pyx b/numpy/random/pcg32.pyx
index 407e5057e..513946acb 100644
--- a/numpy/random/pcg32.pyx
+++ b/numpy/random/pcg32.pyx
@@ -248,14 +248,14 @@ cdef class PCG32:
cdef jump_inplace(self, iter):
"""
Jump state in-place
-
+
Not part of public API
-
+
Parameters
----------
iter : integer, positive
Number of times to jump the state of the rng.
-
+
Notes
-----
The step size is phi when divided by the period 2**64