Skip to content

Commit 36960db

Browse files
committed
Pull request #6: Fix: missing sentinel in slots array
Merge in ~STEPAN.SINDELAR_ORACLE.COM/numpy-hpy from fa/fix_missing_slot_term to labs-hpy-port * commit '2179355f3808be2fa018dc020f10933d6ed97f74': Fix: missing sentinel in slots array
2 parents 1d73e4e + 2179355 commit 36960db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

numpy/core/src/multiarray/scalartypes.c.src

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2794,6 +2794,7 @@ static PyType_Slot PyGenericArrType_Type_slots_legacy[] = {
27942794
GENTYPE_AS_NUMBER_SLOTS,
27952795
// as_mapping:
27962796
{Py_mp_subscript, gen_arrtype_subscript},
2797+
{0},
27972798
};
27982799

27992800
static HPyDef *PyGenericArrType_Type_slots[] = {

0 commit comments

Comments
 (0)