]> granicus.if.org Git - python/commitdiff
Issue #19723: Missed one conversion to the new Argument Clinic syntax.
authorLarry Hastings <larry@hastings.org>
Tue, 7 Jan 2014 22:25:26 +0000 (14:25 -0800)
committerLarry Hastings <larry@hastings.org>
Tue, 7 Jan 2014 22:25:26 +0000 (14:25 -0800)
Modules/_sre.c

index 6be2e59d659e335053ab9219c0b06c26f5d300c0..5a8f839c75c0bcc48760b19d91679d9c33f0f591 100644 (file)
@@ -526,7 +526,7 @@ sre_search(SRE_STATE* state, SRE_CODE* pattern)
     return sre_ucs4_search(state, pattern);
 }
 
-/*[clinic]
+/*[clinic input]
 module _sre
 class _sre.SRE_Pattern
 
@@ -538,7 +538,7 @@ _sre.SRE_Pattern.match as pattern_match
     endpos: Py_ssize_t(c_default="PY_SSIZE_T_MAX") = sys.maxsize
 
 Matches zero or more characters at the beginning of the string.
-[clinic]*/
+[clinic start generated code]*/
 
 PyDoc_STRVAR(pattern_match__doc__,
 "match(pattern, pos=0, endpos=sys.maxsize)\n"
@@ -571,7 +571,7 @@ exit:
 
 static PyObject *
 pattern_match_impl(PatternObject *self, PyObject *pattern, Py_ssize_t pos, Py_ssize_t endpos)
-/*[clinic checksum: 63e59c5f3019efe6c1f3acdec42b2d3595e14a09]*/
+/*[clinic end generated code: checksum=63e59c5f3019efe6c1f3acdec42b2d3595e14a09]*/
 {
     SRE_STATE state;
     Py_ssize_t status;