mirror of
https://github.com/python/cpython.git
synced 2025-10-26 03:04:41 +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
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue