summaryrefslogtreecommitdiff
path: root/numpy/lib/function_base.py
diff options
context:
space:
mode:
authorJohn Han <hanjohn@google.com>2020-03-12 09:52:15 -0700
committerGitHub <noreply@github.com>2020-03-12 09:52:15 -0700
commit32f382c86f384a02eeb87f67fea806e6b9961b5c (patch)
treea86f7e8e5143b1120238a95495adef68c74dce3d /numpy/lib/function_base.py
parentaba1b4a7864752b005c9f5d1bd58fa02e08ccff4 (diff)
downloadnumpy-32f382c86f384a02eeb87f67fea806e6b9961b5c.tar.gz
DOC: Do not complain about contiguity when mutating `ndarray.shape` (gh-10600)
There are multiple conditions that `_attempt_nocopy_reshape` checks for when ndarray.shape is mutated directly. Discussion of #10146 indicated that an error message referencing any type of contiguity would not be correct for all cases, so the error message has been changed to be more general. * ENH: shorten message and use "in-place" * MAINT: typo from review Co-authored-by: hanjohn <hanjohn@users.noreply.github.com> Co-authored-by: mattip <matti.picus@gmail.com>
Diffstat (limited to 'numpy/lib/function_base.py')
0 files changed, 0 insertions, 0 deletions