8000 METH_VARARGS --> METH_O · python/cpython@95be670 · GitHub
[go: up one dir, main page]

Skip to content

Commit 95be670

Browse files
committed
METH_VARARGS --> METH_O
1 parent 2ae22e4 commit 95be670

File tree

1 file changed

+1
-1
line C8B3 s changed

1 file changed

+1
-1
lines changed

Objects/exceptions.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ static PyMethodDef BaseException_methods[] = {
239239
{"__setstate__", (PyCFunction)BaseException_setstate, METH_O },
240240
{"with_traceback", (PyCFunction)BaseException_with_traceback, METH_O,
241241
with_traceback_doc},
242-
{"add_note", (PyCFunction)BaseException_add_note, METH_VARARGS,
242+
{"add_note", (PyCFunction)BaseException_add_note, METH_O,
243243
add_note_doc},
244244
{NULL, NULL, 0, NULL},
245245
};

0 commit comments

Comments
 (0)
0