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

@ -82,6 +82,7 @@ _testcapi_exception_print_impl(PyObject *module, PyObject *exc, int legacy)
}
/*[clinic input]
@permit_long_summary
_testcapi.make_exception_with_doc
name: str
doc: str = NULL
@ -95,7 +96,7 @@ static PyObject *
_testcapi_make_exception_with_doc_impl(PyObject *module, const char *name,
const char *doc, PyObject *base,
PyObject *dict)
/*[clinic end generated code: output=439f0d963c1ce2c4 input=23a73013f8a8795a]*/
/*[clinic end generated code: output=439f0d963c1ce2c4 input=508b420b7f9253ed]*/
{
return PyErr_NewExceptionWithDoc(name, doc, base, dict);
}