diff options
author | Matti Picus <matti.picus@gmail.com> | 2019-05-26 07:40:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-26 07:40:58 +0300 |
commit | 387ba1f2be61c1b75b40c3ef8b5f9a24254b02b3 (patch) | |
tree | e0309fb6fa15e91c9e7ec6dc60cd2415ae03bc85 /numpy/core/numeric.py | |
parent | af4bd3117d3ef955fdf24d76231606b6debc868c (diff) | |
parent | a21c6902687235c6862570d8ddeb485fab07090b (diff) | |
download | numpy-387ba1f2be61c1b75b40c3ef8b5f9a24254b02b3.tar.gz |
Merge pull request #13626 from jeremycl01/jl-isfortran-docupdate
DOC: update isfortran docs with return value
Diffstat (limited to 'numpy/core/numeric.py')
-rw-r--r-- | numpy/core/numeric.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py index 55e6c1cad..0eee8d10e 100644 --- a/numpy/core/numeric.py +++ b/numpy/core/numeric.py @@ -472,7 +472,7 @@ def count_nonzero(a, axis=None): @set_module('numpy') def isfortran(a): """ - Returns True if the array is Fortran contiguous but *not* C contiguous. + Check if the array is Fortran contiguous but *not* C contiguous. This function is obsolete and, because of changes due to relaxed stride checking, its return value for the same array may differ for versions @@ -484,6 +484,11 @@ def isfortran(a): a : ndarray Input array. + Returns + ------- + isfortran : bool + Returns True if the array is Fortran contiguous but *not* C contiguous. + Examples -------- |