diff options
author | Sebastian Berg <sebastianb@nvidia.com> | 2023-01-18 13:13:45 +0100 |
---|---|---|
committer | Sebastian Berg <sebastianb@nvidia.com> | 2023-01-20 13:22:56 +0100 |
commit | 8334d57785997b6a3f6a3bae0ffea273632c65f1 (patch) | |
tree | 87f0819ca9ea27ba1b53238e9e2913bba9e3ad0d /numpy/array_api/_array_object.py | |
parent | eb4ed7f649662a0969552036b62f201b45e244e6 (diff) | |
download | numpy-8334d57785997b6a3f6a3bae0ffea273632c65f1.tar.gz |
API: Allow SciPy to get away with assuming `trapz` is a Python function
This wraps `trapz` into a proper python function and then copies all
attributes expected on a Python function over from the "fake" version
to the real one.
This allows SciPy to pretend `trapz` is a Python function to create
their own version.
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions