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

@ -207,6 +207,7 @@ stringlib_center_impl(PyObject *self, Py_ssize_t width, char fillchar)
}
/*[clinic input]
@permit_long_summary
B.zfill as stringlib_zfill
width: Py_ssize_t
@ -219,7 +220,7 @@ The original string is never truncated.
static PyObject *
stringlib_zfill_impl(PyObject *self, Py_ssize_t width)
/*[clinic end generated code: output=0b3c684a7f1b2319 input=2da6d7b8e9bcb19a]*/
/*[clinic end generated code: output=0b3c684a7f1b2319 input=dfb9cbb16f521756]*/
{
Py_ssize_t fill;
PyObject *s;