Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit da0f47c

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

File tree

Expand file treeCollapse file tree

2 files changed

+24
-24
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+24
-24
lines changed

‎Objects/clinic/exceptions.c.h

Copy file name to clipboardExpand all lines: Objects/clinic/exceptions.c.h
+23-23Lines 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

Copy file name to clipboardExpand all lines: Objects/exceptions.c
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.