summaryrefslogtreecommitdiff
path: root/numpy/array_api/_elementwise_functions.py
diff options
context:
space:
mode:
authorKai Striega <kaistriega@gmail.com>2020-01-22 08:49:41 +0800
committerSebastian Berg <sebastian@sipsolutions.net>2020-01-21 16:49:41 -0800
commite94cec800304a6a467cf90ce4e7d3e207770b4b4 (patch)
tree29f4c70b9b5dee5a95d1d03da59d73c510c85ae3 /numpy/array_api/_elementwise_functions.py
parent1d05717115990a1bd5dd547b70cd960354063702 (diff)
downloadnumpy-e94cec800304a6a467cf90ce4e7d3e207770b4b4.tar.gz
MAINT: Const qualify UFunc inner loops (gh-15355)
This PR const qualifies the dimension and strides arguments of PyUFuncGenericFunction. Const qualified arguments make it simpler to reason about the behaviour of these ufuncs and prevents accidental mutation. As the const is now required this PR also const qualifies calls to PyUFuncGenericFunction inside the NumPy source code. This closes #15252
Diffstat (limited to 'numpy/array_api/_elementwise_functions.py')
0 files changed, 0 insertions, 0 deletions