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
76 changed files with 569 additions and 570 deletions

View File

@@ -3212,6 +3212,8 @@ _tkinter_create_impl(PyObject *module, const char *screenName,
}
/*[clinic input]
@permit_long_summary
@permit_long_docstring_body
_tkinter.setbusywaitinterval
new_val: int
@@ -3224,7 +3226,7 @@ It should be set to a divisor of the maximum time between frames in an animation
static PyObject *
_tkinter_setbusywaitinterval_impl(PyObject *module, int new_val)
/*[clinic end generated code: output=42bf7757dc2d0ab6 input=deca1d6f9e6dae47]*/
/*[clinic end generated code: output=42bf7757dc2d0ab6 input=07b82a04b56625e1]*/
{
if (new_val < 0) {
PyErr_SetString(PyExc_ValueError,
@@ -3236,6 +3238,7 @@ _tkinter_setbusywaitinterval_impl(PyObject *module, int new_val)
}
/*[clinic input]
@permit_long_summary
_tkinter.getbusywaitinterval -> int
Return the current busy-wait interval between successive calls to Tcl_DoOneEvent in a threaded Python interpreter.
@@ -3243,7 +3246,7 @@ Return the current busy-wait interval between successive calls to Tcl_DoOneEvent
static int
_tkinter_getbusywaitinterval_impl(PyObject *module)
/*[clinic end generated code: output=23b72d552001f5c7 input=a695878d2d576a84]*/
/*[clinic end generated code: output=23b72d552001f5c7 input=62d5b36ddab3976b]*/
{
return Tkinter_busywaitinterval;
}