Skip to content

Commit f179557

Browse files
committed
huh, make clinic doesn't do this
1 parent db6b0f3 commit f179557

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/clinic.test.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4155,7 +4155,7 @@ static PyObject *
41554155
test_vararg_and_posonly(PyObject *module, PyObject *const *args, Py_ssize_t nargs)
41564156
{
41574157
PyObject *return_value = NULL;
4158-
Py_ssize_t nvararg = Py_MAX(nargs - 1, 0);
4158+
Py_ssize_t nvararg = nargs - 1;
41594159
PyObject *a;
41604160
PyObject *const *__clinic_args = NULL;
41614161

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

41784178
/*[clinic input]
41794179
test_vararg

0 commit comments

Comments
 (0)