diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2020-01-07 22:48:24 +0000 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2020-01-09 14:36:42 +0000 |
commit | 28773696460227e191634566f5e491406adb0815 (patch) | |
tree | 087cc7d46342055b759e55fd2aac850998f1520c /numpy/polynomial/polyutils.py | |
parent | ee7fcb790e36d940d4fde69bd1cad5048008064b (diff) | |
download | numpy-28773696460227e191634566f5e491406adb0815.tar.gz |
MAINT: Refactor dtype conversion functions to be more similar
Before there were three signatures:
* `PyArray_Descr*(...)`
* `PyArray_Descr*(..., int* err_flag)`
* `int(..., PyArray_Descr** ret)`
This unifies them all into `PyArray_Descr*(...)`, and introduces a special singeton to distinguish "error" from "gave up" cases.
Also changes function names for consistency.
Diffstat (limited to 'numpy/polynomial/polyutils.py')
0 files changed, 0 insertions, 0 deletions