diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-05-30 08:30:39 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-05-30 08:30:39 (GMT) |
commit | 8b2e8b6cce4960e945c7c635c350c8e44a0f9022 (patch) | |
tree | 1e5bec3737bb877e4c0d16ac32f60450f957d7dd /Objects/bytearrayobject.c | |
parent | 7e810a6e3d51e512968f6ac276e555ea99d151d8 (diff) | |
download | cpython-8b2e8b6cce4960e945c7c635c350c8e44a0f9022.zip cpython-8b2e8b6cce4960e945c7c635c350c8e44a0f9022.tar.gz cpython-8b2e8b6cce4960e945c7c635c350c8e44a0f9022.tar.bz2 |
Specify default values of semantic booleans in Argument Clinic generated signatures as booleans.
Diffstat (limited to 'Objects/bytearrayobject.c')
-rw-r--r-- | Objects/bytearrayobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ bytearray_join(PyByteArrayObject *self, PyObject *iterable_of_bytes) /*[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 @@ true. 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), |