Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit df7c22b

Browse files
committed
Issue #19723: Missed one conversion to the new Argument Clinic syntax.
1 parent e483d16 commit df7c22b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Modules/_sre.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ sre_search(SRE_STATE* state, SRE_CODE* pattern)
526526
return sre_ucs4_search(state, pattern);
527527
}
528528

529-
/*[clinic]
529+
/*[clinic input]
530530
module _sre
531531
class _sre.SRE_Pattern
532532
@@ -538,7 +538,7 @@ _sre.SRE_Pattern.match as pattern_match
538538
endpos: Py_ssize_t(c_default="PY_SSIZE_T_MAX") = sys.maxsize
539539
540540
Matches zero or more characters at the beginning of the string.
541-
[clinic]*/
541+
[clinic start generated code]*/
542542

543543
PyDoc_STRVAR(pattern_match__doc__,
544544
"match(pattern, pos=0, endpos=sys.maxsize)\n"
@@ -571,7 +571,7 @@ pattern_match(PyObject *self, PyObject *args, PyObject *kwargs)
571571

572572
static PyObject *
573573
pattern_match_impl(PatternObject *self, PyObject *pattern, Py_ssize_t pos, Py_ssize_t endpos)
574-
/*[clinic checksum: 63e59c5f3019efe6c1f3acdec42b2d3595e14a09]*/
574+
/*[clinic end generated code: checksum=63e59c5f3019efe6c1f3acdec42b2d3595e14a09]*/
575575
{
576576
SRE_STATE state;
577577
Py_ssize_t status;

0 commit comments

Comments
 (0)