GH-137623: Use an AC decorator for docstring line length enforcement (#137690)

This commit is contained in:
Adam Turner 2025-08-18 18:29:00 +01:00 committed by GitHub
parent 0324c726de
commit 918e3ba6c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
76 changed files with 569 additions and 570 deletions

View file

@ -590,6 +590,7 @@ multibytecodec_encode(const MultibyteCodec *codec,
}
/*[clinic input]
@permit_long_docstring_body
_multibytecodec.MultibyteCodec.encode
input: object
@ -607,7 +608,7 @@ static PyObject *
_multibytecodec_MultibyteCodec_encode_impl(MultibyteCodecObject *self,
PyObject *input,
const char *errors)
/*[clinic end generated code: output=7b26652045ba56a9 input=2841745b95ed338f]*/
/*[clinic end generated code: output=7b26652045ba56a9 input=0980aede2c564df8]*/
{
MultibyteCodec_State state;
PyObject *errorcb, *r, *ucvt;
@ -655,6 +656,7 @@ _multibytecodec_MultibyteCodec_encode_impl(MultibyteCodecObject *self,
}
/*[clinic input]
@permit_long_docstring_body
_multibytecodec.MultibyteCodec.decode
input: Py_buffer
@ -672,7 +674,7 @@ static PyObject *
_multibytecodec_MultibyteCodec_decode_impl(MultibyteCodecObject *self,
Py_buffer *input,
const char *errors)
/*[clinic end generated code: output=ff419f65bad6cc77 input=e0c78fc7ab190def]*/
/*[clinic end generated code: output=ff419f65bad6cc77 input=2c657ef914600c7c]*/
{
MultibyteCodec_State state;
MultibyteDecodeBuffer buf;