Skip to content
Prev Previous commit
huh, make clinic doesn't do this
  • Loading branch information
skirpichev committed Oct 28, 2024
commit f17955759d6caae92c57983491462f345f9f4d45
4 changes: 2 additions & 2 deletions Lib/test/clinic.test.c
Original file line number Diff line number Diff line change
Expand Up @@ -4155,7 +4155,7 @@ static PyObject *
test_vararg_and_posonly(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
{
PyObject *return_value = NULL;
Py_ssize_t nvararg = Py_MAX(nargs - 1, 0);
Py_ssize_t nvararg = nargs - 1;
PyObject *a;
PyObject *const *__clinic_args = NULL;

Expand All @@ -4173,7 +4173,7 @@ test_vararg_and_posonly(PyObject *module, PyObject *const *args, Py_ssize_t narg
static PyObject *
test_vararg_and_posonly_impl(PyObject *module, PyObject *a, Py_ssize_t nargs,
PyObject *const *args)
/*[clinic end generated code: output=f0f68154d891dd6d input=9cfa748bbff09877]*/
/*[clinic end generated code: output=dc2dd9483cc0459e input=9cfa748bbff09877]*/

/*[clinic input]
test_vararg
Expand Down