diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-05-30 08:32:58 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-05-30 08:32:58 (GMT) |
commit | 2806518e0cc1e08e4982d0d7e2a9c4ec0acfc3b8 (patch) | |
tree | c1fb034ac2dee7e02628c1459fcf0adf1817828b /Objects | |
parent | dcb591f8f3ab099568773962f369c6cf10ec2eb2 (diff) | |
parent | 8b2e8b6cce4960e945c7c635c350c8e44a0f9022 (diff) | |
download | cpython-2806518e0cc1e08e4982d0d7e2a9c4ec0acfc3b8.zip cpython-2806518e0cc1e08e4982d0d7e2a9c4ec0acfc3b8.tar.gz cpython-2806518e0cc1e08e4982d0d7e2a9c4ec0acfc3b8.tar.bz2 |
Specify default values of semantic booleans in Argument Clinic generated signatures as booleans.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/bytearrayobject.c | 4 | ||||
-rw-r--r-- | Objects/bytesobject.c | 4 |
2 files changed, 4 insertions, 4 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), 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 @@ bytes_decode_impl(PyBytesObject*self, const char *encoding, /*[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 @@ true. 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), |