diff options
author | Larry Hastings <larry@hastings.org> | 2015-04-14 22:07:59 (GMT) |
---|---|---|
committer | Larry Hastings <larry@hastings.org> | 2015-04-14 22:07:59 (GMT) |
commit | 89964c48d1493e5fe87f1ca3ac78029cfbd3b64b (patch) | |
tree | 9eaf0ab850b9868a6529905f0f3642fb45da0c10 /Objects/bytesobject.c | |
parent | 687592def926df9730f75a3aa3469f4378b8fc52 (diff) | |
download | cpython-89964c48d1493e5fe87f1ca3ac78029cfbd3b64b.zip cpython-89964c48d1493e5fe87f1ca3ac78029cfbd3b64b.tar.gz cpython-89964c48d1493e5fe87f1ca3ac78029cfbd3b64b.tar.bz2 |
Issue #23944: Argument Clinic now wraps long impl prototypes at column 78.
Diffstat (limited to 'Objects/bytesobject.c')
-rw-r--r-- | Objects/bytesobject.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/Objects/bytesobject.c b/Objects/bytesobject.c index b6089dd..258db63 100644 --- a/Objects/bytesobject.c +++ b/Objects/bytesobject.c @@ -2113,8 +2113,9 @@ The remaining characters are mapped through the given translation table. [clinic start generated code]*/ static PyObject * -bytes_translate_impl(PyBytesObject *self, PyObject *table, int group_right_1, PyObject *deletechars) -/*[clinic end generated code: output=0ddd2cef4f4918f2 input=d8fa5519d7cc4be7]*/ +bytes_translate_impl(PyBytesObject *self, PyObject *table, int group_right_1, + PyObject *deletechars) +/*[clinic end generated code: output=233df850eb50bf8d input=d8fa5519d7cc4be7]*/ { char *input, *output; Py_buffer table_view = {NULL, NULL}; @@ -2761,8 +2762,9 @@ replaced. [clinic start generated code]*/ static PyObject * -bytes_replace_impl(PyBytesObject*self, Py_buffer *old, Py_buffer *new, Py_ssize_t count) -/*[clinic end generated code: output=3fe052c3c60cffc2 input=b2fbbf0bf04de8e5]*/ +bytes_replace_impl(PyBytesObject*self, Py_buffer *old, Py_buffer *new, + Py_ssize_t count) +/*[clinic end generated code: output=403dc9d7a83c5a1d input=b2fbbf0bf04de8e5]*/ { return (PyObject *)replace((PyBytesObject *) self, (const char *)old->buf, old->len, @@ -2929,8 +2931,9 @@ Decode the bytes using the codec registered for encoding. [clinic start generated code]*/ static PyObject * -bytes_decode_impl(PyBytesObject*self, const char *encoding, const char *errors) -/*[clinic end generated code: output=8038751c823b9038 input=958174769d2a40ca]*/ +bytes_decode_impl(PyBytesObject*self, const char *encoding, + const char *errors) +/*[clinic end generated code: output=2d2016ff8e0bb176 input=958174769d2a40ca]*/ { return PyUnicode_FromEncodedObject((PyObject*)self, encoding, errors); } |