mirror of
https://github.com/python/cpython.git
synced 2026-01-04 14:32:21 +00:00
GH-137623: Use an AC decorator for docstring line length enforcement (#137690)
This commit is contained in:
parent
0324c726de
commit
918e3ba6c0
76 changed files with 569 additions and 570 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue