diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2020-01-05 22:54:04 +0000 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2020-01-06 00:34:02 +0000 |
commit | c2501e4994efd9f561e67cc69b5b001fe77ce346 (patch) | |
tree | 2311b1baed359930bd0f9feaf17421b9f5798142 /numpy/array_api/_array_object.py | |
parent | b5739e8a81c71174b75cf4c8f9de4eccaa7eca2c (diff) | |
download | numpy-c2501e4994efd9f561e67cc69b5b001fe77ce346.tar.gz |
MAINT: Improve const-correctness of shapes and strides
Marking these arguments as const makes it easier to reason about these functions, and prevent accidental mutation.
The C99 standard (6.2.5/26 "Types") guarantees that ABI compatibility is preserved here.
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions