mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +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
|
|
@ -305,6 +305,7 @@ unicodedata_UCD_bidirectional_impl(PyObject *self, int chr)
|
|||
}
|
||||
|
||||
/*[clinic input]
|
||||
@permit_long_summary
|
||||
unicodedata.UCD.combining -> int
|
||||
|
||||
self: self
|
||||
|
|
@ -318,7 +319,7 @@ Returns 0 if no combining class is defined.
|
|||
|
||||
static int
|
||||
unicodedata_UCD_combining_impl(PyObject *self, int chr)
|
||||
/*[clinic end generated code: output=cad056d0cb6a5920 input=9f2d6b2a95d0a22a]*/
|
||||
/*[clinic end generated code: output=cad056d0cb6a5920 input=e05edfbb882ebfed]*/
|
||||
{
|
||||
int index;
|
||||
Py_UCS4 c = (Py_UCS4)chr;
|
||||
|
|
@ -389,6 +390,7 @@ unicodedata_UCD_east_asian_width_impl(PyObject *self, int chr)
|
|||
}
|
||||
|
||||
/*[clinic input]
|
||||
@permit_long_summary
|
||||
unicodedata.UCD.decomposition
|
||||
|
||||
self: self
|
||||
|
|
@ -402,7 +404,7 @@ An empty string is returned in case no such mapping is defined.
|
|||
|
||||
static PyObject *
|
||||
unicodedata_UCD_decomposition_impl(PyObject *self, int chr)
|
||||
/*[clinic end generated code: output=7d699f3ec7565d27 input=e4c12459ad68507b]*/
|
||||
/*[clinic end generated code: output=7d699f3ec7565d27 input=84d628d1abfd01ec]*/
|
||||
{
|
||||
char decomp[256];
|
||||
int code, index, count;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue