Skip to content

Commit

Permalink
bpo-39164: Fix compiler warning in PyErr_GetExcInfo() (GH-18010)
Browse files Browse the repository at this point in the history
The function has no return value.
  • Loading branch information
vstinner committed Jan 15, 2020
1 parent cf288b5 commit 3f12ac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python/errors.c
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ void
PyErr_GetExcInfo(PyObject **p_type, PyObject **p_value, PyObject **p_traceback)
{
PyThreadState *tstate = _PyThreadState_GET();
return _PyErr_GetExcInfo(tstate, p_type, p_value, p_traceback);
_PyErr_GetExcInfo(tstate, p_type, p_value, p_traceback);
}

void
Expand Down

0 comments on commit 3f12ac1

Please sign in to comment.