summaryrefslogtreecommitdiff
path: root/numpy/array_api/_elementwise_functions.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2022-01-05 07:38:57 -0800
committerGitHub <noreply@github.com>2022-01-05 17:38:57 +0200
commit6a4e4a2ee2dbf6555b3ece09b3a4d84443c1b8cb (patch)
treecc7ddd5b201575289da21b9af464c6fdcfdcd971 /numpy/array_api/_elementwise_functions.py
parentbb5c5eea76b70744dbadc66b54936b6930e3cf3b (diff)
downloadnumpy-6a4e4a2ee2dbf6555b3ece09b3a4d84443c1b8cb.tar.gz
DOC: Document that dtype, strides, shape attributes should not be set (#20730)
* DOC: Document that dtype, strides, shape attributes should not be set This adds a `warning` directive and makes sure that `view` is mentioned. (assignment to data is already deprecated, so not indcluding it here.) * Update numpy/core/_add_newdocs.py Co-authored-by: Matti Picus <matti.picus@gmail.com> Co-authored-by: Matti Picus <matti.picus@gmail.com>
Diffstat (limited to 'numpy/array_api/_elementwise_functions.py')
0 files changed, 0 insertions, 0 deletions