Skip to content

Commit

Permalink
gh-111178: Regen clinic and fix exceptions.c post gh-128447 (#129060)
Browse files Browse the repository at this point in the history
  • Loading branch information
erlend-aasland authored Jan 20, 2025
1 parent a30277a commit da0f47c
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
46 changes: 23 additions & 23 deletions Objects/clinic/exceptions.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Objects/exceptions.c
Original file line number Diff line number Diff line change
Expand Up @@ -4256,7 +4256,7 @@ _PyException_AddNote(PyObject *exc, PyObject *note)
Py_TYPE(exc)->tp_name);
return -1;
}
PyObject *r = BaseException_add_note(_PyBaseExceptionObject_cast(exc), note);
PyObject *r = BaseException_add_note(exc, note);
int res = r == NULL ? -1 : 0;
Py_XDECREF(r);
return res;
Expand Down

0 comments on commit da0f47c

Please sign in to comment.