Skip to content

Commit

Permalink
pythongh-96821: Assert for demonstrating undefined behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasgoergens committed Sep 18, 2022
1 parent c00f2b1 commit cd374dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Modules/_testcapimodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -4918,6 +4918,7 @@ meth_fastcall_keywords(PyObject* self, PyObject* const* args,
if (pyargs == NULL) {
return NULL;
}
assert(args != NULL);
PyObject *pykwargs = PyObject_Vectorcall((PyObject*)&PyDict_Type,
args + nargs, 0, kwargs);
return Py_BuildValue("NNN", _null_to_none(self), pyargs, pykwargs);
Expand Down

0 comments on commit cd374dd

Please sign in to comment.