pyodide/packages/numpy/patches/fix-static-init-of-nditer-p...

14 lines
814 B
Diff
Raw Normal View History

2018-03-20 22:58:59 +00:00
diff --git a/numpy/core/src/multiarray/nditer_pywrap.c b/numpy/core/src/multiarray/nditer_pywrap.c
index 0d318178f..2d3de0247 100644
--- a/numpy/core/src/multiarray/nditer_pywrap.c
+++ b/numpy/core/src/multiarray/nditer_pywrap.c
@@ -2481,7 +2481,7 @@ NPY_NO_EXPORT PyTypeObject NpyIter_Type = {
0, /* tp_iter */
(iternextfunc)npyiter_next, /* tp_iternext */
npyiter_methods, /* tp_methods */
- npyiter_members, /* tp_members */
+ 0, /* tp_members */
npyiter_getsets, /* tp_getset */
0, /* tp_base */
0, /* tp_dict */