Skip to content

Commit

Permalink
Merge pull request numpy#24263 from charris/fix-for-variable-name-change
Browse files Browse the repository at this point in the history
BUG: Fix use of renamed variable.
  • Loading branch information
charris authored Jul 26, 2023
2 parents de398b0 + fb80601 commit 511f77d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpy/core/src/multiarray/scalartypes.c.src
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ genint_type_str(PyObject *self)
item = gentype_generic_method(self, NULL, NULL, "item");
break;
}
Py_DECREF(descr);
Py_DECREF(dtype);
if (item == NULL) {
return NULL;
}
Expand Down

0 comments on commit 511f77d

Please sign in to comment.