diff options
| author | Sebastian Berg <sebastian@sipsolutions.net> | 2022-01-05 07:38:57 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-05 17:38:57 +0200 |
| commit | 6a4e4a2ee2dbf6555b3ece09b3a4d84443c1b8cb (patch) | |
| tree | cc7ddd5b201575289da21b9af464c6fdcfdcd971 /numpy/array_api | |
| parent | bb5c5eea76b70744dbadc66b54936b6930e3cf3b (diff) | |
| download | numpy-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')
0 files changed, 0 insertions, 0 deletions
