diff options
author | Leo Singer <leo.singer@ligo.org> | 2022-01-13 13:19:31 -0500 |
---|---|---|
committer | Leo Singer <leo.singer@ligo.org> | 2022-01-13 18:55:02 -0500 |
commit | 8b70732e81602f64b31fb2a3b25c9741ce0d2886 (patch) | |
tree | a94a79c6a8039dc83b914d90b16ac9e217ec2287 /numpy/array_api/_array_object.py | |
parent | c6d95f57bff1ae390b3539bd46f1c74695b861eb (diff) | |
download | numpy-8b70732e81602f64b31fb2a3b25c9741ce0d2886.tar.gz |
BUG: Fix build of third-party extensions with Py_LIMITED_API
The type `vectorcallfunc` is not defined by Python's limited API.
Guard its use with a `#ifdef` so that third-party extensions that
use the Numpy C API will build with Py_LIMITED_API defined.
This fixes a regression introduced in #20315.
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions