Skip to content

Commit c9a4211

Browse files
committed
generate unicodedata.c.h with clinic
1 parent b79f969 commit c9a4211

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

Modules/clinic/unicodedata.c.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -259,11 +259,10 @@ PyDoc_STRVAR(unicodedata_UCD_grapheme_cluster_break__doc__,
259259
"grapheme_cluster_break($self, chr, /)\n"
260260
"--\n"
261261
"\n"
262-
"Returns the east asian width assigned to the character chr as string.");
262+
"Returns the GraphemeBreakProperty assigned to the character chr as string.");
263263

264264
#define UNICODEDATA_UCD_GRAPHEME_CLUSTER_BREAK_METHODDEF \
265-
{"grapheme_cluster_break", (PyCFunction)unicodedata_UCD_grapheme_cluster_break, \
266-
METH_O, unicodedata_UCD_grapheme_cluster_break__doc__},
265+
{"grapheme_cluster_break", (PyCFunction)unicodedata_UCD_grapheme_cluster_break, METH_O, unicodedata_UCD_grapheme_cluster_break__doc__},
267266

268267
static PyObject *
269268
unicodedata_UCD_grapheme_cluster_break_impl(PyObject *self, int chr);
@@ -407,4 +406,4 @@ unicodedata_UCD_lookup(PyObject *self, PyObject *arg)
407406
exit:
408407
return return_value;
409408
}
410-
/*[clinic end generated code: output=7ec9a3c8fbfd3c3a input=a9049054013a1b77]*/
409+
/*[clinic end generated code: output=a14dae8898d6b123 input=a9049054013a1b77]*/

Modules/unicodedata.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,12 +390,12 @@ unicodedata.UCD.grapheme_cluster_break
390390
chr: int(accept={str})
391391
/
392392
393-
Returns the east asian width assigned to the character chr as string.
393+
Returns the GraphemeBreakProperty assigned to the character chr as string.
394394
[clinic start generated code]*/
395395

396396
static PyObject *
397397
unicodedata_UCD_grapheme_cluster_break_impl(PyObject *self, int chr)
398-
/*[clinic end generated code: output=484e8537d9ee8197 input=c4854798aab026e0]*/
398+
/*[clinic end generated code: output=7c8f206a79cc1cd8 input=81f5a87218f8439e]*/
399399
{
400400
int index;
401401
Py_UCS4 c = (Py_UCS4)chr;

0 commit comments

Comments
 (0)