mirror of https://github.com/pyodide/pyodide.git
26 lines
906 B
Diff
26 lines
906 B
Diff
From 04399d268103b821fe5e3124a7742a1f8aa86155 Mon Sep 17 00:00:00 2001
|
|
From: Hood Chatham <roberthoodchatham@gmail.com>
|
|
Date: Thu, 31 Mar 2022 17:22:18 -0700
|
|
Subject: [PATCH 08/14] fix static init of nditer pywrap
|
|
|
|
---
|
|
numpy/core/src/multiarray/nditer_pywrap.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/numpy/core/src/multiarray/nditer_pywrap.c b/numpy/core/src/multiarray/nditer_pywrap.c
|
|
index 2675496ab..cea617b6f 100644
|
|
--- a/numpy/core/src/multiarray/nditer_pywrap.c
|
|
+++ b/numpy/core/src/multiarray/nditer_pywrap.c
|
|
@@ -2479,7 +2479,7 @@ NPY_NO_EXPORT PyTypeObject NpyIter_Type = {
|
|
.tp_flags = Py_TPFLAGS_DEFAULT,
|
|
.tp_iternext = (iternextfunc)npyiter_next,
|
|
.tp_methods = npyiter_methods,
|
|
- .tp_members = npyiter_members,
|
|
+ .tp_members = 0,
|
|
.tp_getset = npyiter_getsets,
|
|
.tp_init = (initproc)npyiter_init,
|
|
.tp_new = npyiter_new,
|
|
--
|
|
2.25.1
|
|
|