Skip to content

Commit da0f47c

Browse files
gh-111178: Regen clinic and fix exceptions.c post gh-128447 (#129060)
1 parent a30277a commit da0f47c

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

Objects/clinic/exceptions.c.h

Lines changed: 23 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Objects/exceptions.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4256,7 +4256,7 @@ _PyException_AddNote(PyObject *exc, PyObject *note)
42564256
Py_TYPE(exc)->tp_name);
42574257
return -1;
42584258
}
4259-
PyObject *r = BaseException_add_note(_PyBaseExceptionObject_cast(exc), note);
4259+
PyObject *r = BaseException_add_note(exc, note);
42604260
int res = r == NULL ? -1 : 0;
42614261
Py_XDECREF(r);
42624262
return res;

0 commit comments

Comments
 (0)