diff options
author | Ralf Gommers <ralf.gommers@gmail.com> | 2022-05-28 15:28:19 +0200 |
---|---|---|
committer | Ralf Gommers <ralf.gommers@gmail.com> | 2022-05-28 15:28:19 +0200 |
commit | e68c7064ce92d517e54b0188ca050491ed2069ff (patch) | |
tree | 17349806c744de9ff69c47229fd5bb1572bd23c9 /numpy/array_api/setup.py | |
parent | 1b76ff5b5e1254c95c033fc449553ab67c5d96fe (diff) | |
download | numpy-e68c7064ce92d517e54b0188ca050491ed2069ff.tar.gz |
DOC: move `import_array` and `import_umath` above `PyModule_Create`
This seems to be a slightly better order, because these initializations
are independent of module creation, and if initialization fails then
there's no reference to the new module floating around. See
https://github.com/scipy/scipy/issues/16231
[skip actions]
Diffstat (limited to 'numpy/array_api/setup.py')
0 files changed, 0 insertions, 0 deletions