mirror of
https://github.com/python/cpython.git
synced 2025-11-01 14:11: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
|
|
@ -4259,6 +4259,7 @@ _imp_lock_held_impl(PyObject *module)
|
|||
}
|
||||
|
||||
/*[clinic input]
|
||||
@permit_long_docstring_body
|
||||
_imp.acquire_lock
|
||||
|
||||
Acquires the interpreter's import lock for the current thread.
|
||||
|
|
@ -4269,7 +4270,7 @@ modules. On platforms without threads, this function does nothing.
|
|||
|
||||
static PyObject *
|
||||
_imp_acquire_lock_impl(PyObject *module)
|
||||
/*[clinic end generated code: output=1aff58cb0ee1b026 input=4a2d4381866d5fdc]*/
|
||||
/*[clinic end generated code: output=1aff58cb0ee1b026 input=e1a4ef049d34e7dd]*/
|
||||
{
|
||||
PyInterpreterState *interp = _PyInterpreterState_GET();
|
||||
_PyImport_AcquireLock(interp);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue