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

@ -251,6 +251,7 @@ PyDoc_STRVAR(build_class_doc,
Internal helper function used by the class statement.");
/*[clinic input]
@permit_long_docstring_body
__import__ as builtin___import__
name: object
@ -279,7 +280,7 @@ is the number of parent directories to search relative to the current module.
static PyObject *
builtin___import___impl(PyObject *module, PyObject *name, PyObject *globals,
PyObject *locals, PyObject *fromlist, int level)
/*[clinic end generated code: output=4febeda88a0cd245 input=73f4b960ea5b9dd6]*/
/*[clinic end generated code: output=4febeda88a0cd245 input=01a3283590eae93a]*/
{
return PyImport_ImportModuleLevelObject(name, globals, locals,
fromlist, level);