Specify default values of semantic booleans in Argument Clinic generated signatures as booleans.
diff --git a/Objects/bytearrayobject.c b/Objects/bytearrayobject.c
index b9477ca..28b1f68 100644
--- a/Objects/bytearrayobject.c
+++ b/Objects/bytearrayobject.c
@@ -2773,7 +2773,7 @@
/*[clinic input]
bytearray.splitlines
- keepends: int(py_default="False") = 0
+ keepends: int(c_default="0") = False
Return a list of the lines in the bytearray, breaking at line boundaries.
@@ -2783,7 +2783,7 @@
static PyObject *
bytearray_splitlines_impl(PyByteArrayObject *self, int keepends)
-/*[clinic end generated code: output=4223c94b895f6ad9 input=36f0b25bc792f6c0]*/
+/*[clinic end generated code: output=4223c94b895f6ad9 input=8ccade941e5ea0bd]*/
{
return stringlib_splitlines(
(PyObject*) self, PyByteArray_AS_STRING(self),
diff --git a/Objects/bytesobject.c b/Objects/bytesobject.c
index d2b52c7..c576678 100644
--- a/Objects/bytesobject.c
+++ b/Objects/bytesobject.c
@@ -2942,7 +2942,7 @@
/*[clinic input]
bytes.splitlines
- keepends: int(py_default="False") = 0
+ keepends: int(c_default="0") = False
Return a list of the lines in the bytes, breaking at line boundaries.
@@ -2952,7 +2952,7 @@
static PyObject *
bytes_splitlines_impl(PyBytesObject*self, int keepends)
-/*[clinic end generated code: output=995c3598f7833cad input=ddb93e3351080c8c]*/
+/*[clinic end generated code: output=995c3598f7833cad input=7f4aac67144f9944]*/
{
return stringlib_splitlines(
(PyObject*) self, PyBytes_AS_STRING(self),