summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2022-02-22 18:30:29 -0800
committerGitHub <noreply@github.com>2022-02-22 18:30:29 -0800
commitda0de1b3e3a73705f44d9da8cc6c963a90bb4b87 (patch)
tree8a961a4e9928b61632a756bc7c72634bf6073cce
parentd85bc111be3aebd379d576f9fc0340772bd1ea64 (diff)
downloadnumpy-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.
-rw-r--r--numpy/core/src/multiarray/textreading/readtext.h3
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_ */