Skip to content

Commit

Permalink
METH_VARARGS --> METH_O
Browse files Browse the repository at this point in the history
  • Loading branch information
iritkatriel committed Apr 14, 2022
1 parent 2ae22e4 commit 95be670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Objects/exceptions.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ static PyMethodDef BaseException_methods[] = {
{"__setstate__", (PyCFunction)BaseException_setstate, METH_O },
{"with_traceback", (PyCFunction)BaseException_with_traceback, METH_O,
with_traceback_doc},
{"add_note", (PyCFunction)BaseException_add_note, METH_VARARGS,
{"add_note", (PyCFunction)BaseException_add_note, METH_O,
add_note_doc},
{NULL, NULL, 0, NULL},
};
Expand Down

0 comments on commit 95be670

Please sign in to comment.