diff options
| author | Sebastian Berg <sebastian@sipsolutions.net> | 2022-02-22 18:30:29 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-22 18:30:29 -0800 |
| commit | da0de1b3e3a73705f44d9da8cc6c963a90bb4b87 (patch) | |
| tree | 8a961a4e9928b61632a756bc7c72634bf6073cce /numpy | |
| parent | d85bc111be3aebd379d576f9fc0340772bd1ea64 (diff) | |
| download | numpy-da0de1b3e3a73705f44d9da8cc6c963a90bb4b87.tar.gz | |
MAINT: Fix incorrect signature in readtext header file (#21109)
This is the public API, so it is cast anyway and nothing notices it
except some compilers. Seems our CI didn't, thus this small fixup.
Diffstat (limited to 'numpy')
| -rw-r--r-- | numpy/core/src/multiarray/textreading/readtext.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/core/src/multiarray/textreading/readtext.h b/numpy/core/src/multiarray/textreading/readtext.h index 5cf48c555..133c7883e 100644 --- a/numpy/core/src/multiarray/textreading/readtext.h +++ b/numpy/core/src/multiarray/textreading/readtext.h @@ -2,6 +2,7 @@ #define NUMPY_CORE_SRC_MULTIARRAY_TEXTREADING_READTEXT_H_ NPY_NO_EXPORT PyObject * -_load_from_filelike(PyObject *self, PyObject *args, PyObject *kwargs); +_load_from_filelike(PyObject *mod, + PyObject *const *args, Py_ssize_t len_args, PyObject *kwnames); #endif /* NUMPY_CORE_SRC_MULTIARRAY_TEXTREADING_READTEXT_H_ */ |
