Skip to content

Commit 38a1a75

Browse files
committed
add py_default test
1 parent 56851ae commit 38a1a75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/_testclinic.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ py_ssize_t_converter
446446
d: Py_ssize_t(accept={int}, allow_negative=False) = 78
447447
e: Py_ssize_t(accept={int, NoneType}, allow_negative=False) = 90
448448
f: Py_ssize_t(accept={int}, allow_negative=False) = -12
449-
g: Py_ssize_t(accept={int, NoneType}, allow_negative=False) = -34
449+
g: Py_ssize_t(accept={int, NoneType}, py_default="-34", allow_negative=False) = -34
450450
/
451451
452452
[clinic start generated code]*/
@@ -455,7 +455,7 @@ static PyObject *
455455
py_ssize_t_converter_impl(PyObject *module, Py_ssize_t a, Py_ssize_t b,
456456
Py_ssize_t c, Py_ssize_t d, Py_ssize_t e,
457457
Py_ssize_t f, Py_ssize_t g)
458-
/*[clinic end generated code: output=ecf8e1a4a9abc95e input=d3b8f1f6efccf4b2]*/
458+
/*[clinic end generated code: output=ecf8e1a4a9abc95e input=7b7fa954780c1cb0]*/
459459
{
460460
RETURN_PACKED_ARGS(7, PyLong_FromSsize_t, Py_ssize_t, a, b, c, d, e, f, g);
461461
}

0 commit comments

Comments
 (0)